{"id":"CVE-2024-47723","published":"2024-10-21T12:13:57Z","modified":"2026-10-15T00:52:41Z","title":"jfs: fix out-of-bounds in dbNextAG() and diAlloc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: fix out-of-bounds in dbNextAG() and diAlloc()\n\nIn dbNextAG() , there is no check for the case where bmp->db_numag is\ngreater or same than MAXAG due to a polluted image, which causes an\nout-of-bounds. Therefore, a bounds check should be added in dbMount().\n\nAnd in dbNextAG(), a check for the case where agpref is greater than\nbmp->db_numag should be added, so an out-of-bounds exception should be\nprevented.\n\nAdditionally, a check for the case where agno is greater or same than\nMAXAG should be added in diAlloc() to prevent out-of-bounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00287,"percentile":0.21771,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0","tags":[]},{"url":"https://git.kernel.org/stable/c/5ad6284c8d433f8a213111c5c44ead4d9705b622","tags":[]},{"url":"https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b","tags":[]},{"url":"https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9","tags":[]},{"url":"https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b","tags":[]},{"url":"https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2","tags":[]},{"url":"https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a","tags":[]},{"url":"https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc","tags":[]},{"url":"https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.35},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5ad6284c8d433f8a213111c5c44ead4d9705b622",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0338e66cba272351ca9d7d03f3628e390e70963b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ead82533278502428883085a787d5a00f15e5eb9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6ce8b6ab44a8b5918c0ee373d4ad19d19017931b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 128d5cfdcf844cb690c9295a3a1c1114c21fc15a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 96855f40e152989c9e7c20c4691ace5581098acc",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e63866a475562810500ea7f784099bfe341e761a"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T13:01:38.378971Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42641","exploited":false,"provenance":"source"}}