CVE-2024-47723
jfs: fix out-of-bounds in dbNextAG() and diAlloc()
Check your servers for CVE-2024-47723
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-47723 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix out-of-bounds in dbNextAG() and diAlloc()
In dbNextAG() , there is no check for the case where bmp->db_numag is greater or same than MAXAG due to a polluted image, which causes an out-of-bounds. Therefore, a bounds check should be added in dbMount().
And in dbNextAG(), a check for the case where agpref is greater than bmp->db_numag should be added, so an out-of-bounds exception should be prevented.
Additionally, a check for the case where agno is greater or same than MAXAG should be added in diAlloc() to prevent out-of-bounds.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5ad6284c8d433f8a213111c5c44ead4d9705b622 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0338e66cba272351ca9d7d03f3628e390e70963b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ead82533278502428883085a787d5a00f15e5eb9 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6ce8b6ab44a8b5918c0ee373d4ad19d19017931b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 128d5cfdcf844cb690c9295a3a1c1114c21fc15a affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 96855f40e152989c9e7c20c4691ace5581098acc affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e63866a475562810500ea7f784099bfe341e761a
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.54 up to and including 6.6.* unaffected from 6.10.13 up to and including 6.10.* unaffected from 6.11.2 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-47723 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-47723
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-47723
trivy image --scanners vuln IMAGE | grep CVE-2024-47723
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0 git.kernel.org
- https://git.kernel.org/stable/c/5ad6284c8d433f8a213111c5c44ead4d9705b622 git.kernel.org
- https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b git.kernel.org
- https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9 git.kernel.org
- https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b git.kernel.org
- https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2 git.kernel.org
- https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a git.kernel.org
- https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc git.kernel.org
- https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-47723 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse