syzbot
KASAN: out-of-bounds Read in ext4_xattr_set_entry
Status:
auto-obsoleted due to no activity on 2023/08/23 09:06
Subsystems:
ext4
[Documentation on labels]
Reported-by: syzbot+7e8d321460434dffad35@syzkaller.appspotmail.com
First crash: 1965d, last: 1200d
▶
▼
Similar bugs (18)
| Kernel |
Title |
Rank
🛈
|
Repro |
Cause bisect |
Fix bisect |
Count |
Last |
Reported |
Patched |
Status |
| android-5-15 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry (2)
origin:lts
|
19 |
syz, C |
|
|
191 |
11m |
401d
|
0/2 |
upstream: reported C repro on 2025/07/03 01:48
|
| linux-4.19 |
KASAN: use-after-free Read in ext4_xattr_set_entry (2)
|
19 |
syz, C |
|
done |
7 |
1790d |
2248d
|
1/1 |
fixed on 2021/10/13 07:23
|
| android-5-15 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
|
17 |
|
|
|
1 |
1146d |
1146d
|
0/2 |
auto-obsoleted due to no activity on 2023/09/17 07:02
|
| upstream |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
prio:high
ext4
|
22 |
syz, C |
error |
|
7866 |
8h00m |
685d
|
0/29 |
upstream: reported C repro on 2024/09/22 00:16
|
| linux-5.15 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
|
19 |
syz, C |
|
error |
65 |
13d |
510d
|
0/3 |
upstream: reported C repro on 2025/03/15 11:50
|
| linux-6.1 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
missing-backport
origin:lts-only
|
21 |
syz, C |
|
inconclusive |
1058 |
15d |
1177d
|
0/3 |
upstream: reported C repro on 2023/05/19 08:42
|
| linux-6.6 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
origin:upstream
missing-backport
|
17 |
syz, C |
|
inconclusive |
1398 |
63d |
417d
|
0/2 |
upstream: reported C repro on 2025/06/17 02:45
|
| android-5-10 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
|
19 |
syz, C |
|
inconclusive |
265 |
5d07h |
1053d
|
0/2 |
upstream: reported C repro on 2023/09/20 02:40
|
| linux-4.14 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
|
17 |
syz, C |
|
error |
2 |
1429d |
1943d
|
0/1 |
upstream: reported C repro on 2021/04/12 14:20
|
| android-6-1 |
KASAN: out-of-bounds Read in ext4_xattr_set_entry
origin:lts
|
21 |
syz, C |
|
|
1013 |
2d02h |
816d
|
0/2 |
upstream: reported C repro on 2024/05/13 18:18
|
| android-5-15 |
general protection fault in ext4_xattr_set_entry
|
2 |
syz, C |
error |
|
1 |
1254d |
1334d
|
2/2 |
fixed on 2023/03/28 12:29
|
| android-5-10 |
general protection fault in ext4_xattr_set_entry (4)
|
2 |
syz, C |
error |
|
62 |
1157d |
1186d
|
2/2 |
fixed on 2023/06/07 17:22
|
| android-5-10 |
general protection fault in ext4_xattr_set_entry (2)
ext4
|
2 |
syz, C |
error |
|
423 |
1193d |
1393d
|
2/2 |
fixed on 2023/05/03 13:06
|
| upstream |
KASAN: use-after-free Read in ext4_xattr_set_entry (5)
ext4
|
19 |
|
|
|
2 |
1474d |
1533d
|
0/29 |
auto-obsoleted due to no activity on 2022/11/22 17:19
|
| android-5-10 |
general protection fault in ext4_xattr_set_entry (3)
|
2 |
syz, C |
error |
|
9 |
1188d |
1191d
|
2/2 |
fixed on 2023/05/08 19:06
|
| upstream |
KASAN: use-after-free Read in ext4_xattr_set_entry (4)
ext4
|
22 |
syz, C |
error |
done |
21 |
1629d |
2016d
|
20/29 |
fixed on 2022/03/28 10:17
|
| android-5-10 |
general protection fault in ext4_xattr_set_entry
|
2 |
syz, C |
error |
|
2 |
1415d |
1429d
|
0/2 |
closed as invalid on 2022/09/26 18:30
|
| android-5-10 |
general protection fault in ext4_xattr_set_entry (5)
|
2 |
syz, C |
done |
|
11 |
1154d |
1157d
|
2/2 |
fixed on 2023/06/13 02:27
|
▶
▼
Last patch testing requests (3)
Sample crash report:
==================================================================
BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x1bc7/0x3c50 fs/ext4/xattr.c:1726
Read of size 18446744073709551600 at addr ffff8881e9df00d4 by task syz-executor357/343
CPU: 1 PID: 343 Comm: syz-executor357 Not tainted 5.4.107-syzkaller-00750-g543ec4541c0e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1d8/0x24e lib/dump_stack.c:118
print_address_description+0x9b/0x650 mm/kasan/report.c:384
__kasan_report+0x182/0x260 mm/kasan/report.c:516
kasan_report+0x30/0x60 mm/kasan/common.c:641
check_memory_region_inline mm/kasan/generic.c:141 [inline]
check_memory_region+0x2a5/0x2e0 mm/kasan/generic.c:191
memmove+0x25/0x50 mm/kasan/common.c:114
ext4_xattr_set_entry+0x1bc7/0x3c50 fs/ext4/xattr.c:1726
ext4_xattr_ibody_inline_set+0x74/0x280 fs/ext4/xattr.c:2215
ext4_destroy_inline_data_nolock+0x1c9/0x5e0 fs/ext4/inline.c:435
ext4_convert_inline_data_nolock+0x434/0x1640 fs/ext4/inline.c:1218
ext4_convert_inline_data+0x33c/0x430 fs/ext4/inline.c:2043
ext4_fallocate+0xdf/0x800 fs/ext4/extents.c:4898
vfs_fallocate+0x564/0x840 fs/open.c:309
ksys_fallocate fs/open.c:332 [inline]
__do_sys_fallocate fs/open.c:340 [inline]
__se_sys_fallocate fs/open.c:338 [inline]
__x64_sys_fallocate+0xb9/0x100 fs/open.c:338
do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44a3c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4e5e560208 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00000000004cc4e8 RCX: 000000000044a3c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00000000004cc4e0 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000bb89 R11: 0000000000000246 R12: 00000000004cc4ec
R13: 00007ffdfbb28fef R14: 00007f4e5e560300 R15: 0000000000022000
The buggy address belongs to the page:
page:ffffea0007a77c00 refcount:2 mapcount:0 mapping:ffff8881f45e5268 index:0x8
def_blk_aops
flags: 0x800000000002203e(referenced|uptodate|dirty|lru|active|private|mappedtodisk)
raw: 800000000002203e ffffea0007773408 ffffea0007a38648 ffff8881f45e5268
raw: 0000000000000008 ffff8881e0072e70 00000002ffffffff ffff8881f5cac000
page dumped because: kasan: bad access detected
page->mem_cgroup:ffff8881f5cac000
Memory state around the buggy address:
ffff8881e9deff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff8881e9df0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8881e9df0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
ffff8881e9df0100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8881e9df0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
* Struck through repros no longer work on HEAD.