Files
vuln-cve/data/2021/47xxx/CVE-2021-47340.json
T

367 lines
17 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2021-47340",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-21T14:28:16.979Z",
"datePublished": "2024-05-21T14:35:48.342Z",
"dateUpdated": "2026-05-11T13:52:44.651Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T13:52:44.651Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\njfs: fix GPF in diFree\n\nAvoid passing inode with\nJFS_SBI(inode->i_sb)->ipimap == NULL to\ndiFree()[1]. GFP will appear:\n\n\tstruct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap;\n\tstruct inomap *imap = JFS_IP(ipimap)->i_imap;\n\nJFS_IP() will return invalid pointer when ipimap == NULL\n\nCall Trace:\n diFree+0x13d/0x2dc0 fs/jfs/jfs_imap.c:853 [1]\n jfs_evict_inode+0x2c9/0x370 fs/jfs/inode.c:154\n evict+0x2ed/0x750 fs/inode.c:578\n iput_final fs/inode.c:1654 [inline]\n iput.part.0+0x3fe/0x820 fs/inode.c:1680\n iput+0x58/0x70 fs/inode.c:1670"
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/jfs/inode.c"
],
"versions": [
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "7bde24bde490f3139eee147efc6d60d6040fe975",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "745c9a59422c63f661f4374ed5181740db4130a1",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "49def1b0644892e3b113673c13d650c3060b43bc",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "8018936950360f1c503bb385e158cfc5e4945d18",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "3bb27e27240289b47d3466f647a55c567adbdc3a",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "42f102ea1943ecb10a0756bf75424de5d1d5beed",
"status": "affected",
"versionType": "git"
},
{
"version": "62aff86fdf18657d9eca7878654415f94f16d027",
"lessThan": "9d574f985fe33efd6911f4d752de6f485a1ea732",
"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/inode.c"
],
"versions": [
{
"version": "2.6.36",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.36",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.4.276",
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.9.276",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.240",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.198",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.133",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.51",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.12.18",
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.13.3",
"lessThanOrEqual": "5.13.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.14",
"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.36",
"versionEndExcluding": "4.4.276"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "4.9.276"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "4.14.240"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "4.19.198"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "5.4.133"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "5.10.51"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "5.12.18"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "5.13.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.36",
"versionEndExcluding": "5.14"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/7bde24bde490f3139eee147efc6d60d6040fe975"
},
{
"url": "https://git.kernel.org/stable/c/745c9a59422c63f661f4374ed5181740db4130a1"
},
{
"url": "https://git.kernel.org/stable/c/49def1b0644892e3b113673c13d650c3060b43bc"
},
{
"url": "https://git.kernel.org/stable/c/aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3"
},
{
"url": "https://git.kernel.org/stable/c/a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2"
},
{
"url": "https://git.kernel.org/stable/c/8018936950360f1c503bb385e158cfc5e4945d18"
},
{
"url": "https://git.kernel.org/stable/c/3bb27e27240289b47d3466f647a55c567adbdc3a"
},
{
"url": "https://git.kernel.org/stable/c/42f102ea1943ecb10a0756bf75424de5d1d5beed"
},
{
"url": "https://git.kernel.org/stable/c/9d574f985fe33efd6911f4d752de6f485a1ea732"
}
],
"title": "jfs: fix GPF in diFree",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-47340",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-05-23T19:05:29.527724Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:13:33.625Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T05:32:08.497Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/7bde24bde490f3139eee147efc6d60d6040fe975",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/745c9a59422c63f661f4374ed5181740db4130a1",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/49def1b0644892e3b113673c13d650c3060b43bc",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/8018936950360f1c503bb385e158cfc5e4945d18",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/3bb27e27240289b47d3466f647a55c567adbdc3a",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/42f102ea1943ecb10a0756bf75424de5d1d5beed",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/9d574f985fe33efd6911f4d752de6f485a1ea732",
"tags": [
"x_transferred"
]
}
]
}
]
}
}