{"id":"CVE-2024-44938","state":"PUBLISHED","title":"jfs: Fix shift-out-of-bounds in dbDiscardAG","description":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: Fix shift-out-of-bounds in dbDiscardAG\n\nWhen searching for the next smaller log2 block, BLKSTOL2() returned 0,\ncausing shift exponent -1 to be negative.\n\nThis patch fixes the issue by exiting the loop directly when negative\nshift is found.","publishedAt":"2024-08-26T11:20:43.340Z","updatedAt":"2026-05-11T20:32:22.725Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"bb7c605a754823b86dd74f6537ccb9d38a9dec5a","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"bd04a149e3a29e7f71b7956ed41dba34e42d539e","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"f650148b43949ca9e37e820804bb6026fff404f3","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"234e6ea0855cdb5673d54ecaf7dc5c78f3e84630","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"7063b80268e2593e58bee8a8d709c2f3ff93e2f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/jfs/jfs_dmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.237","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.181","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.107","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.47","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.6","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/jfs/jfs_dmap.c"]}],"references":["https://git.kernel.org/stable/c/bb7c605a754823b86dd74f6537ccb9d38a9dec5a","https://git.kernel.org/stable/c/4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9","https://git.kernel.org/stable/c/bd04a149e3a29e7f71b7956ed41dba34e42d539e","https://git.kernel.org/stable/c/f650148b43949ca9e37e820804bb6026fff404f3","https://git.kernel.org/stable/c/234e6ea0855cdb5673d54ecaf7dc5c78f3e84630","https://git.kernel.org/stable/c/7063b80268e2593e58bee8a8d709c2f3ff93e2f2","https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/44xxx/CVE-2024-44938.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-44938","state":"PUBLISHED","datePublished":"2024-08-26T11:20:43.340Z","dateUpdated":"2026-05-11T20:32:22.725Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T05:34:56.664Z"},"containers":{"cna":{"title":"jfs: Fix shift-out-of-bounds in dbDiscardAG","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: Fix shift-out-of-bounds in dbDiscardAG\n\nWhen searching for the next smaller log2 block, BLKSTOL2() returned 0,\ncausing shift exponent -1 to be negative.\n\nThis patch fixes the issue by exiting the loop directly when negative\nshift is found."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"bb7c605a754823b86dd74f6537ccb9d38a9dec5a","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"bd04a149e3a29e7f71b7956ed41dba34e42d539e","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"f650148b43949ca9e37e820804bb6026fff404f3","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"234e6ea0855cdb5673d54ecaf7dc5c78f3e84630","versionType":"git"},{"version":"b40c2e665cd552eae5fbdbb878bc29a34357668e","status":"affected","lessThan":"7063b80268e2593e58bee8a8d709c2f3ff93e2f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/jfs/jfs_dmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.237","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.181","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.107","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.47","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.6","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/jfs/jfs_dmap.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bb7c605a754823b86dd74f6537ccb9d38a9dec5a"},{"url":"https://git.kernel.org/stable/c/4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9"},{"url":"https://git.kernel.org/stable/c/bd04a149e3a29e7f71b7956ed41dba34e42d539e"},{"url":"https://git.kernel.org/stable/c/f650148b43949ca9e37e820804bb6026fff404f3"},{"url":"https://git.kernel.org/stable/c/234e6ea0855cdb5673d54ecaf7dc5c78f3e84630"},{"url":"https://git.kernel.org/stable/c/7063b80268e2593e58bee8a8d709c2f3ff93e2f2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:32:22.725Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.10.237"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.15.181"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.1.107"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.6.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.10.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-44938","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:27:38.649616Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:32:55.564Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:13:42.650Z"}}]}}}