CVE-2021-47340: jfs: fix GPF in diFree
Vulnerability summary
CVE-2021-47340 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.6% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: jfs: fix GPF in diFree Avoid passing inode with JFS_SBI(inode->i_sb)->ipimap == NULL to diFree()[1]. GFP will appear: struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap; struct inomap *imap = JFS_IP(ipimap)->i_imap; JFS_IP() will return invalid pointer when ipimap == NULL Call Trace: diFree+0x13d/0x2dc0 fs/jfs/jfs_imap.c:853 [1] jfs_evict_inode+0x2c9/0x370 fs/jfs/inode.c:154 evict+0x2ed/0x750 fs/inode.c:578 iput_final fs/inode.c:1654 [inline] iput.part.0+0x3fe/0x820 fs/inode.c:1680 iput+0x58/0x70 fs/inode.c:1670
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu87 products
- linuxAll versions (No fix recorded) | < 4.4.0-234.268 | < 4.15.0-156.163 | < 5.4.0-84.94
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1113.119 | < 4.4.0-1151.166 | < 4.15.0-1111.118 | < 5.4.0-1056.59
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 7bde24bde490f3139eee147efc6d60d6040fe975 | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 745c9a59422c63f661f4374ed5181740db4130a1 | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 49def1b0644892e3b113673c13d650c3060b43bc | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3 | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2 | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 8018936950360f1c503bb385e158cfc5e4945d18 | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 3bb27e27240289b47d3466f647a55c567adbdc3a | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 42f102ea1943ecb10a0756bf75424de5d1d5beed | ≥ 62aff86fdf18657d9eca7878654415f94f16d027, < 9d574f985fe33efd6911f4d752de6f485a1ea732 | 2.6.36
- linux_kernel< 4.4.276 | ≥ 4.5, < 4.9.276 | ≥ 4.10, < 4.14.240 | ≥ 4.15, < 4.19.198 | ≥ 4.20, < 5.4.133 | ≥ 5.5, < 5.10.51 | ≥ 5.11, < 5.12.18 | ≥ 5.13, < 5.13.3
Debian1 product
- linux< 5.14.6-1
3 vendors · 90 products