{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-41017","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-12T12:17:45.612Z","datePublished":"2024-07-29T06:37:03.390Z","dateUpdated":"2026-08-05T11:34:43.174Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:34:43.174Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: don't walk off the end of ealist\n\nAdd a check before visiting the members of ea to\nmake sure each ea stays within the ealist."}],"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 a locally-mounted crafted JFS image and is triggered through the getxattr()/listxattr() syscalls (or implicitly via jfs_get_acl() during permission checks) on the attacker's own file. There is no network-facing path into fs/jfs.\nAC:L - The attacker fully authors the on-disk EA list, so the out-of-bounds offset and length are deterministic and reliably reproducible with no dependence on uncontrolled state. The double-fetch write variant in jfs_listxattr() is likewise attacker-paced, since they control both the heap churn adjacent to the inline-EA slab object and the rate of syscalls.\nPR:L - On desktop, kiosk and workstation deployments removable media is mounted for the logged-in unprivileged user by udisks2/autofs, after which any unprivileged local user can trigger the overread on the crafted file. No CAP_SYS_ADMIN is needed for the triggering getxattr()/listxattr() calls themselves.\nUI:N - Once the filesystem is present, the attacker triggers the bug entirely on their own by calling getxattr()/listxattr() on their crafted file — even an `ls -l` style permission check reaches it via jfs_get_acl(). No victim action is required at exploitation time.\nS:U - The out-of-bounds access and its consequences are confined to the kernel's own memory and the same security authority. No hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - An attacker-chosen valuelen of up to 65535 makes __jfs_getxattr() memcpy up to 64 KB from beyond the EA buffer — frequently the 128-byte i_inline_ea field inside a jfs_inode_info slab object — and that adjacent kernel heap is returned directly to userspace. This is a large, unbounded infoleak that can disclose kernel pointers, keys, and other tasks' data.\nI:H - jfs_listxattr() re-derives namelen, the os2-prefix decision, and NEXT_EA() from out-of-bounds memory in both its sizing pass and its copy pass, so a concurrent change to those bytes lets the copy pass overflow the kvmalloc'd klist buffer — a kernel heap out-of-bounds write. Additionally, out-of-bounds heap bytes are parsed as POSIX ACL entries by jfs_get_acl(), corrupting the access rules applied to the inode.\nA:H - Reading up to 64 KB past a 128-byte inline buffer or a metapage routinely walks into unmapped pages, producing a general protection fault or oops, and KASAN/hardened configurations panic on the slab overread. The heap overflow write in jfs_listxattr() likewise corrupts allocator state and crashes the kernel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/jfs/xattr.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"7f91bd0f2941fa36449ce1a15faaa64f840d9746","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"fc16776a82e8df97b6c4f9a10ba95aa44cef7ba5","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"6386f1b6a10e5d1ddd03db4ff6dfc55d488852ce","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"7e21574195a45fc193555fa40e99fed16565ff7e","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"4e034f7e563ab723b93a59980e4a1bb33198ece8","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"17440dbc66ab98b410514b04987f61deedb86751","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"f4435f476b9bf059cd9e26a69f5b29c768d00375","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"dbde7bc91093fa9c2410e418b236b70fde044b73","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"d0fa70aca54c8643248e89061da23752506ec0d4","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/jfs/xattr.c"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"4.19.319","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.281","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.223","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.164","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.102","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.43","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.12","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10.2","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.319"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.4.281"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.223"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.164"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.102"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.43"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.9.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.10.2"},{"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/7f91bd0f2941fa36449ce1a15faaa64f840d9746"},{"url":"https://git.kernel.org/stable/c/fc16776a82e8df97b6c4f9a10ba95aa44cef7ba5"},{"url":"https://git.kernel.org/stable/c/6386f1b6a10e5d1ddd03db4ff6dfc55d488852ce"},{"url":"https://git.kernel.org/stable/c/7e21574195a45fc193555fa40e99fed16565ff7e"},{"url":"https://git.kernel.org/stable/c/4e034f7e563ab723b93a59980e4a1bb33198ece8"},{"url":"https://git.kernel.org/stable/c/17440dbc66ab98b410514b04987f61deedb86751"},{"url":"https://git.kernel.org/stable/c/f4435f476b9bf059cd9e26a69f5b29c768d00375"},{"url":"https://git.kernel.org/stable/c/dbde7bc91093fa9c2410e418b236b70fde044b73"},{"url":"https://git.kernel.org/stable/c/d0fa70aca54c8643248e89061da23752506ec0d4"}],"title":"jfs: don't walk off the end of ealist","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/7f91bd0f2941fa36449ce1a15faaa64f840d9746","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/fc16776a82e8df97b6c4f9a10ba95aa44cef7ba5","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6386f1b6a10e5d1ddd03db4ff6dfc55d488852ce","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7e21574195a45fc193555fa40e99fed16565ff7e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4e034f7e563ab723b93a59980e4a1bb33198ece8","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/17440dbc66ab98b410514b04987f61deedb86751","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f4435f476b9bf059cd9e26a69f5b29c768d00375","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/dbde7bc91093fa9c2410e418b236b70fde044b73","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d0fa70aca54c8643248e89061da23752506ec0d4","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:59:20.503Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41017","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:24:38.749773Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:34:05.610Z"}}]}}