5.5medium
jfs: fix GPF in diFree
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 62aff86fdf18657d9eca7878654415f94f16d027 before 7bde24bde490f3139eee147efc6d60d6040fe975, from 62aff86fdf18657d9eca7878654415f94f16d027 before 745c9a59422c63f661f4374ed5181740db4130a1, from 62aff86fdf18657d9eca7878654415f94f16d027 before 49def1b0644892e3b113673c13d650c3060b43bc, from 62aff86fdf18657d9eca7878654415f94f16d027 before aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3, from 62aff86fdf18657d9eca7878654415f94f16d027 before a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2, from 62aff86fdf18657d9eca7878654415f94f16d027 before 8018936950360f1c503bb385e158cfc5e4945d18, from 62aff86fdf18657d9eca7878654415f94f16d027 before 3bb27e27240289b47d3466f647a55c567adbdc3a, from 62aff86fdf18657d9eca7878654415f94f16d027 before 42f102ea1943ecb10a0756bf75424de5d1d5beed and 2 more Not affected: before 2.6.36, from 4.4.276 up to 4.4.*, from 4.9.276 up to 4.9.*, from 4.14.240 up to 4.14.*, from 4.19.198 up to 4.19.*, from 5.4.133 up to 5.4.* | CVE List |
| linux linux_kernel | before 4.4.276, from 4.5 before 4.9.276, from 4.10 before 4.14.240, from 4.15 before 4.19.198, from 4.20 before 5.4.133, from 5.5 before 5.10.51, from 5.11 before 5.12.18, from 5.13 before 5.13.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: jfs: corrige GPF en diFree. Evite pasar el inodo con JFS_SBI(inode->i_sb)->ipimap == NULL a diFree()[1]. Aparecerá GFP: struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap; estructura inomap *imap = JFS_IP(ipimap)->i_imap; JFS_IP() devolverá un puntero no válido cuando ipimap == NULL Seguimiento de llamadas: 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 [en línea] iput.part.0+0x3fe/0x820 fs/inode.c:1680 iput+0x58/0x70 fs/inode.c:1670
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47340 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47340 changed 2026-06-17 | Public domain |