CVE-2022-49349
published 2025-02-26CVE-2022-49349: In the Linux kernel, the following vulnerability has been resolved: ext4: fix use-after-free in ext4_rename_dir_prepare We got issue as follows: EXT4-fs…
PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.30%
22.0th percentile
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix use-after-free in ext4_rename_dir_prepare
We got issue as follows:
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
ext4_get_first_dir_block: bh->b_data=0xffff88810bee6000 len=34478
ext4_get_first_dir_block: *parent_de=0xffff88810beee6ae bh->b_data=0xffff88810bee6000
ext4_rename_dir_prepare: [1] parent_de=0xffff88810beee6ae
BUG: KASAN: use-after-free in ext4_rename_dir_prepare+0x152/0x220
Read of size 4 at addr ffff88810beee6ae by task rep/1895
CPU: 13 PID: 1895 Comm: rep Not tainted 5.10.0+ #241
Call Trace:
dump_stack+0xbe/0xf9
print_address_description.constprop.0+0x1e/0x220
kasan_report.cold+0x37/0x7f
ext4_rename_dir_prepare+0x152/0x220
ext4_rename+0xf44/0x1ad0
ext4_rename2+0x11c/0x170
vfs_rename+0xa84/0x1440
do_renameat2+0x683/0x8f0
__x64_sys_renameat+0x53/0x60
do_syscall_64+0x33/0x40
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f45a6fc41c9
RSP: 002b:00007ffc5a470218 EFLAGS: 00000246 ORIG_RAX: 0000000000000108
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f45a6fc41c9
RDX: 0000000000000005 RSI: 0000000020000180 RDI: 0000000000000005
RBP: 00007ffc5a470240 R08: 00007ffc5a470160 R09: 0000000020000080
R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000400bb0
R13: 00007ffc5a470320 R14: 0000000000000000 R15: 0000000000000000
The buggy address belongs to the page:
page:00000000440015ce refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x10beee
flags: 0x200000000000000()
raw: 0200000000000000 ffffea00043ff4c8 ffffea0004325608 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88810beee580: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88810beee600: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88810beee680: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88810beee700: ff ff ff ff f
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 1a3a15bf6f9963d755270cbdb282863b84839195 | 1a3a15bf6f9963d755270cbdb282863b84839195 |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 97f802a652a749422dede32071d29a53cf4bd034 | 97f802a652a749422dede32071d29a53cf4bd034 |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 10801095224de0d0ab06ae60698680c1f883a3ae | 10801095224de0d0ab06ae60698680c1f883a3ae |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < eaecf7ebfd5dd09038a80b14be46b844f54cfc5c | eaecf7ebfd5dd09038a80b14be46b844f54cfc5c |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < dd887f83ea54aea5b780a84527e23ab95f777fed | dd887f83ea54aea5b780a84527e23ab95f777fed |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 364380c00912bed9b5d99eb485018360b0ecf64f | 364380c00912bed9b5d99eb485018360b0ecf64f |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 0ff38b99fa075ddd246487a28cb9af049f4ceef1 | 0ff38b99fa075ddd246487a28cb9af049f4ceef1 |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 4a2bea60cf7ff957b3eda0b17750d483876a02fa | 4a2bea60cf7ff957b3eda0b17750d483876a02fa |
| linux | linux | >= 32f7f22c0b52e8189fef83986b16dc7abe95f2c4 < 0be698ecbe4471fcad80e81ec6a05001421041b3 | 0be698ecbe4471fcad80e81ec6a05001421041b3 |
| linux | linux_kernel | < 4.9.318 | 4.9.318 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.10 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: ext4: fix use-after-free in ext4_rename_dir_prepare
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2022-49349 [HIGH] kernel: ext4: fix use-after-free in ext4_rename_dir_prepare
kernel: ext4: fix use-after-free in ext4_rename_dir_prepare
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix use-after-free in ext4_rename_dir_prepare
We got issue as follows:
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
ext4_get_first_dir_block: bh->b_data=0xffff88810bee6000 len=34478
ext4_get_first_dir_block: *parent_de=0xffff88810beee6ae bh->b_data=0xffff88810bee6000
ext4_rename_dir_prepare: [1] parent_de=0xffff88810beee6ae
BUG: KASAN: use-after-free in ext4_rename_dir_prepare+0x152/0x220
Read of size 4 at addr ffff88810beee6ae by task rep/1895
CPU: 13 PID: 1895 Comm: rep Not tainted 5.10.0+ #241
Call Trace:
dump_stack+0xbe/0xf9
print_address_description.constprop.0+0x1e/0x220
kasan_report.cold+0x37/0x7f
ext4_rename_dir_prepar
Debian
CVE-2022-49349: linux - In the Linux kernel, the following vulnerability has been resolved: ext4: fix u...
vendor_debian·2022·CVSS 7.8
CVE-2022-49349 [HIGH] CVE-2022-49349: linux - In the Linux kernel, the following vulnerability has been resolved: ext4: fix u...
In the Linux kernel, the following vulnerability has been resolved: ext4: fix use-after-free in ext4_rename_dir_prepare We got issue as follows: EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue ext4_get_first_dir_block: bh->b_data=0xffff88810bee6000 len=34478 ext4_get_first_dir_block: *parent_de=0xffff88810beee6ae bh->b_data=0xffff88810bee6000 ext4_rename_dir_prepare: [1] parent_de=0xffff88810beee6ae ================================================================== BUG: KASAN: use-after-free in ext4_rename_dir_prepare+0x152/0x220 Read of size 4 at addr ffff88810beee6ae by task rep/1895 CPU: 13 PID: 1895 Comm: rep Not tainted 5.10.0+ #241 Call Trace: dump_stack+0xbe/0xf9 print_address_description.constprop.0+0x1e/0x220 kasan_report.cold+0x37/0x7f ext4_rename_dir_
GHSA
GHSA-qwcq-8262-9j44: In the Linux kernel, the following vulnerability has been resolved:
ext4: fix use-after-free in ext4_rename_dir_prepare
We got issue as follows:
EXT
ghsa_unreviewed·2025-02-27
CVE-2022-49349 [HIGH] CWE-416 GHSA-qwcq-8262-9j44: In the Linux kernel, the following vulnerability has been resolved:
ext4: fix use-after-free in ext4_rename_dir_prepare
We got issue as follows:
EXT
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix use-after-free in ext4_rename_dir_prepare
We got issue as follows:
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
ext4_get_first_dir_block: bh->b_data=0xffff88810bee6000 len=34478
ext4_get_first_dir_block: *parent_de=0xffff88810beee6ae bh->b_data=0xffff88810bee6000
ext4_rename_dir_prepare: [1] parent_de=0xffff88810beee6ae
BUG: KASAN: use-after-free in ext4_rename_dir_prepare+0x152/0x220
Read of size 4 at addr ffff88810beee6ae by task rep/1895
CPU: 13 PID: 1895 Comm: rep Not tainted 5.10.0+ #241
Call Trace:
dump_stack+0xbe/0xf9
print_address_description.constprop.0+0x1e/0x220
kasan_report.cold+0x37/0x7f
ext4_rename_dir_prepare+0x152/0x220
ext4_rename+0xf44/0x1ad0
ext4_rename2+0x11c/
OSV
CVE-2022-49349: In the Linux kernel, the following vulnerability has been resolved: ext4: fix use-after-free in ext4_rename_dir_prepare We got issue as follows: EXT4-
osv·2025-02-26·CVSS 7.8
CVE-2022-49349 [HIGH] CVE-2022-49349: In the Linux kernel, the following vulnerability has been resolved: ext4: fix use-after-free in ext4_rename_dir_prepare We got issue as follows: EXT4-
In the Linux kernel, the following vulnerability has been resolved: ext4: fix use-after-free in ext4_rename_dir_prepare We got issue as follows: EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue ext4_get_first_dir_block: bh->b_data=0xffff88810bee6000 len=34478 ext4_get_first_dir_block: *parent_de=0xffff88810beee6ae bh->b_data=0xffff88810bee6000 ext4_rename_dir_prepare: [1] parent_de=0xffff88810beee6ae ================================================================== BUG: KASAN: use-after-free in ext4_rename_dir_prepare+0x152/0x220 Read of size 4 at addr ffff88810beee6ae by task rep/1895 CPU: 13 PID: 1895 Comm: rep Not tainted 5.10.0+ #241 Call Trace: dump_stack+0xbe/0xf9 print_address_description.constprop.0+0x1e/0x220 kasan_report.cold+0x37/0x7f ext4_rename_dir_
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/0be698ecbe4471fcad80e81ec6a05001421041b3https://git.kernel.org/stable/c/0ff38b99fa075ddd246487a28cb9af049f4ceef1https://git.kernel.org/stable/c/10801095224de0d0ab06ae60698680c1f883a3aehttps://git.kernel.org/stable/c/1a3a15bf6f9963d755270cbdb282863b84839195https://git.kernel.org/stable/c/364380c00912bed9b5d99eb485018360b0ecf64fhttps://git.kernel.org/stable/c/4a2bea60cf7ff957b3eda0b17750d483876a02fahttps://git.kernel.org/stable/c/97f802a652a749422dede32071d29a53cf4bd034https://git.kernel.org/stable/c/dd887f83ea54aea5b780a84527e23ab95f777fedhttps://git.kernel.org/stable/c/eaecf7ebfd5dd09038a80b14be46b844f54cfc5c
2025-02-26
Published