In the Linux kernel, the following vulnerability has been resolved:
block: add check that partition length needs to be aligned with block size
Before calling add partition or resize partition, there is no check on whether the length is aligned with the logical block size. If the logical block size of the disk is larger than 512 bytes, then the partition size maybe not the multiple of the logical block size, and when the last sector is read, biotruncate() will adjust the bio size, resulting in an IO error if the size of the read command is smaller than the logical block size.If integrity data is supported, this will also result in a null pointer dereference when calling biointegrity_free.
{ "vanir_signatures": [ { "deprecated": false, "id": "CVE-2023-52458-156b9d80", "digest": { "threshold": 0.9, "line_hashes": [ "181796695949306489404022975638042749630", "45077843983314269801649266107573872380", "237171357770368189595639856623051727967", "31945641952104063948662140346103130868", "137717718534811243052260982392026034712", "13154412397540369969092925483478500163", "145938550940129214684845250120254483159", "11558464500304201551588498587554344725", "216167746176379517989767837276653354109", "229363753949362860496935934214137259913", "167022970727984355406803055216999739223", "135823728932271594964821642926986747718", "212764362988441541445820455854968093402" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" }, { "deprecated": false, "id": "CVE-2023-52458-2fef0120", "digest": { "function_hash": "46280909138704581028271231302501216681", "length": 814.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef31cc87794731ffcb578a195a2c47d744e25fb8", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-8644021c", "digest": { "function_hash": "46280909138704581028271231302501216681", "length": 814.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f64f866aa1ae6975c95d805ed51d7e9433a0016", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-888d0883", "digest": { "function_hash": "46280909138704581028271231302501216681", "length": 814.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-ae0ba68a", "digest": { "threshold": 0.9, "line_hashes": [ "181796695949306489404022975638042749630", "45077843983314269801649266107573872380", "237171357770368189595639856623051727967", "31945641952104063948662140346103130868", "137717718534811243052260982392026034712", "13154412397540369969092925483478500163", "145938550940129214684845250120254483159", "11558464500304201551588498587554344725", "216167746176379517989767837276653354109", "229363753949362860496935934214137259913", "167022970727984355406803055216999739223", "135823728932271594964821642926986747718", "212764362988441541445820455854968093402" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" }, { "deprecated": false, "id": "CVE-2023-52458-aec0fc98", "digest": { "threshold": 0.9, "line_hashes": [ "181796695949306489404022975638042749630", "45077843983314269801649266107573872380", "237171357770368189595639856623051727967", "31945641952104063948662140346103130868", "137717718534811243052260982392026034712", "13154412397540369969092925483478500163", "145938550940129214684845250120254483159", "11558464500304201551588498587554344725", "216167746176379517989767837276653354109", "229363753949362860496935934214137259913", "167022970727984355406803055216999739223", "135823728932271594964821642926986747718", "212764362988441541445820455854968093402" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5010c27120962c85d2f421d2cf211791c9603503", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" }, { "deprecated": false, "id": "CVE-2023-52458-b5f8ceba", "digest": { "function_hash": "46280909138704581028271231302501216681", "length": 814.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-c26f0613", "digest": { "function_hash": "149338239787041168190409018661752763075", "length": 903.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-c66b01ef", "digest": { "threshold": 0.9, "line_hashes": [ "4273701946841200934041647589062890598", "176329929476695440756513932923324696760", "159098129482990221329209639462526293765", "104505943397457987828762766895169308719", "230866547928169229282020170556908812209", "259222331452472472173086529429301335854", "222438294903689405451533969326364514638", "320198444699586587146984985347894068782", "229363753949362860496935934214137259913", "63215287177600846905221282921644569450", "325497388892215116938948243579305457939", "9405308072511505140602646263826451579" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" }, { "deprecated": false, "id": "CVE-2023-52458-cea28cf1", "digest": { "function_hash": "46280909138704581028271231302501216681", "length": 814.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5010c27120962c85d2f421d2cf211791c9603503", "target": { "file": "block/ioctl.c", "function": "blkpg_do_ioctl" }, "signature_version": "v1", "signature_type": "Function" }, { "deprecated": false, "id": "CVE-2023-52458-ea5ba447", "digest": { "threshold": 0.9, "line_hashes": [ "181796695949306489404022975638042749630", "45077843983314269801649266107573872380", "237171357770368189595639856623051727967", "31945641952104063948662140346103130868", "137717718534811243052260982392026034712", "13154412397540369969092925483478500163", "145938550940129214684845250120254483159", "11558464500304201551588498587554344725", "216167746176379517989767837276653354109", "229363753949362860496935934214137259913", "167022970727984355406803055216999739223", "135823728932271594964821642926986747718", "212764362988441541445820455854968093402" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef31cc87794731ffcb578a195a2c47d744e25fb8", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" }, { "deprecated": false, "id": "CVE-2023-52458-fb852a74", "digest": { "threshold": 0.9, "line_hashes": [ "181796695949306489404022975638042749630", "45077843983314269801649266107573872380", "237171357770368189595639856623051727967", "31945641952104063948662140346103130868", "137717718534811243052260982392026034712", "13154412397540369969092925483478500163", "145938550940129214684845250120254483159", "11558464500304201551588498587554344725", "216167746176379517989767837276653354109", "229363753949362860496935934214137259913", "167022970727984355406803055216999739223", "135823728932271594964821642926986747718", "212764362988441541445820455854968093402" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f64f866aa1ae6975c95d805ed51d7e9433a0016", "target": { "file": "block/ioctl.c" }, "signature_version": "v1", "signature_type": "Line" } ] }