CVE-2021-47340
Published: May 21, 2024
Modified: May 11, 2026
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
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 62aff86fdf18657d9eca7878654415f94f16d027 - < 7bde24bde490f3139eee147efc6d60d6040fe975affected 62aff86fdf18657d9eca7878654415f94f16d027 - < 745c9a59422c63f661f4374ed5181740db4130a1affected 62aff86fdf18657d9eca7878654415f94f16d027 - < 49def1b0644892e3b113673c13d650c3060b43bcaffected 62aff86fdf18657d9eca7878654415f94f16d027 - < aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3affected 62aff86fdf18657d9eca7878654415f94f16d027 - < a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2+4 more versions |
Linux | Linux | affected 2.6.36unaffected 0 - < 2.6.36unaffected 4.4.276 - <= 4.4.*unaffected 4.9.276 - <= 4.9.*unaffected 4.14.240 - <= 4.14.*+6 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now