{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-46777","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-09-11T15:12:18.275Z","datePublished":"2024-09-18T07:12:34.315Z","dateUpdated":"2026-08-05T11:38:29.949Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:38:29.949Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: Avoid excessive partition lengths\n\nAvoid mounting filesystems where the partition would overflow the\n32-bits used for block number. Also refuse to mount filesystems where\nthe partition length is so large we cannot safely index bits in a\nblock bitmap."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires the attacker to get a crafted UDF filesystem image mounted on the target — via removable media on a kiosk/workstation or a loop-mounted image — which is local access, not network reachability.\nAC:L - The attacker fully controls every field of the on-disk Partition Descriptor and can set `partitionLength`/`partitionStartingLocation` to deterministic overflow-triggering values; no race or uncontrollable precondition is involved.\nPR:L - On typical desktop, kiosk and embedded systems udisks2/systemd automounts attacker-supplied UDF media on behalf of a local unprivileged user, so no elevated privileges are needed to get the malicious partition descriptor parsed.\nUI:N - Under the automount scenario the local attacker inserts the media and the mount plus subsequent allocation activity proceed without any separate victim action.\nS:U - The corruption is confined to kernel memory and the block device within the same security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - The negative `block_group` yields an out-of-bounds read of `bitmap->s_block_bitmap[]` far past the allocation, and the 32-bit physical block wrap makes the filesystem read blocks outside the partition, exposing arbitrary on-device and kernel heap data.\nI:H - `read_block_bitmap()` performs an out-of-bounds pointer store into `s_block_bitmap[]` and the bogus `buffer_head` is then used for `udf_clear_bit()`/`udf_set_bit()` on `bh->b_data`, giving a controlled-offset heap write; the block-number wrap additionally lets file data overwrite blocks outside the partition.\nA:H - The wild-pointer dereference of the out-of-bounds `struct buffer_head *` reliably oopses the kernel, and the resulting heap and on-disk metadata corruption causes further crashes."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/udf/super.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c0c23130d38e8bc28e9ef581443de9b1fc749966","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"1497a4484cdb2cf6c37960d788fb6ba67567bdb7","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"551966371e17912564bc387fbeb2ac13077c3db1","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"2ddf831451357c6da4b64645eb797c93c1c054d1","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"0173999123082280cf904bd640015951f194a294","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"a56330761950cb83de1dfb348479f20c56c95f90","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"925fd8ee80d5348a5e965548e5484d164d19221d","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"ebbe26fd54a9621994bc16b14f2ba8f84c089693","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/udf/super.c"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"4.19.322","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.284","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.226","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.167","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.110","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.51","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.10","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"4.19.322"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.4.284"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.167"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.10.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.11"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c0c23130d38e8bc28e9ef581443de9b1fc749966"},{"url":"https://git.kernel.org/stable/c/1497a4484cdb2cf6c37960d788fb6ba67567bdb7"},{"url":"https://git.kernel.org/stable/c/551966371e17912564bc387fbeb2ac13077c3db1"},{"url":"https://git.kernel.org/stable/c/2ddf831451357c6da4b64645eb797c93c1c054d1"},{"url":"https://git.kernel.org/stable/c/0173999123082280cf904bd640015951f194a294"},{"url":"https://git.kernel.org/stable/c/a56330761950cb83de1dfb348479f20c56c95f90"},{"url":"https://git.kernel.org/stable/c/925fd8ee80d5348a5e965548e5484d164d19221d"},{"url":"https://git.kernel.org/stable/c/ebbe26fd54a9621994bc16b14f2ba8f84c089693"}],"title":"udf: Avoid excessive partition lengths","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T14:39:05.257297Z","id":"CVE-2024-46777","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-29T14:39:19.543Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:18:17.885Z"}}]}}