KASAN: use-after-free Read in drm_getunique

20 views
Skip to first unread message

syzbot

unread,
Dec 9, 2020, 2:00:13 PM12/9/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4abf2685 Linux 4.19.162
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10614b37500000
kernel config: https://syzkaller.appspot.com/x/.config?x=38565839aa6b0d25
dashboard link: https://syzkaller.appspot.com/bug?extid=eb9ee624949c6f815b8b
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+eb9ee6...@syzkaller.appspotmail.com

==================================================================
BUG: KASAN: use-after-free in drm_getunique+0x1cc/0x260 drivers/gpu/drm/drm_ioctl.c:118
Read of size 4 at addr ffff8880a5087098 by task syz-executor.1/19896

CPU: 0 PID: 19896 Comm: syz-executor.1 Not tainted 4.19.162-syzkaller #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+0x1fc/0x2fe lib/dump_stack.c:118
print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354
kasan_report mm/kasan/report.c:412 [inline]
__asan_report_load4_noabort+0x88/0x90 mm/kasan/report.c:432
drm_getunique+0x1cc/0x260 drivers/gpu/drm/drm_ioctl.c:118
drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:757
drm_ioctl+0x507/0x9c0 drivers/gpu/drm/drm_ioctl.c:857
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e0f9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0037c67c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e0f9
RDX: 0000000020000180 RSI: 00000000c0145401 RDI: 0000000000000003
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007ffebdaa2c3f R14: 00007f0037c689c0 R15: 000000000119c034

Allocated by task 19890:
kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625
kmalloc include/linux/slab.h:515 [inline]
kzalloc include/linux/slab.h:709 [inline]
drm_master_create+0x40/0x590 drivers/gpu/drm/drm_auth.c:101
drm_new_set_master+0x11c/0x4a0 drivers/gpu/drm/drm_auth.c:147
drm_master_open+0xee/0x120 drivers/gpu/drm/drm_auth.c:257
drm_open_helper drivers/gpu/drm/drm_file.c:376 [inline]
drm_open+0x4e5/0x810 drivers/gpu/drm/drm_file.c:316
drm_stub_open+0x290/0x410 drivers/gpu/drm/drm_drv.c:950
chrdev_open+0x266/0x770 fs/char_dev.c:423
do_dentry_open+0x4aa/0x1160 fs/open.c:796
do_last fs/namei.c:3421 [inline]
path_openat+0x793/0x2df0 fs/namei.c:3537
do_filp_open+0x18c/0x3f0 fs/namei.c:3567
do_sys_open+0x3b3/0x520 fs/open.c:1085
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

Freed by task 19890:
__cache_free mm/slab.c:3503 [inline]
kfree+0xcc/0x210 mm/slab.c:3822
drm_master_destroy drivers/gpu/drm/drm_auth.c:356 [inline]
kref_put include/linux/kref.h:70 [inline]
drm_master_put+0x1b5/0x240 drivers/gpu/drm/drm_auth.c:367
drm_new_set_master+0x2cd/0x4a0 drivers/gpu/drm/drm_auth.c:166
drm_setmaster_ioctl+0x291/0x3a0 drivers/gpu/drm/drm_auth.c:199
drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:757
drm_ioctl+0x507/0x9c0 drivers/gpu/drm/drm_ioctl.c:857
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

The buggy address belongs to the object at ffff8880a5087080
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
512-byte region [ffff8880a5087080, ffff8880a5087280)
The buggy address belongs to the page:
page:ffffea00029421c0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff8880a5087580
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffffea000274b248 ffffea000273b248 ffff88813bff0940
raw: ffff8880a5087580 ffff8880a5087080 0000000100000005 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
ffff8880a5086f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff8880a5087000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8880a5087080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff8880a5087100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880a5087180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 512 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 1024 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 2048 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 4096 failed
overlayfs: missing 'lowerdir'
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 512 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 1024 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 2048 failed
UDF-fs: warning (device loop2): udf_load_vrs: No VRS found
UDF-fs: Scanning with blocksize 4096 failed


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 9, 2020, 2:29:12 PM12/9/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 4abf2685 Linux 4.19.162
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15ee58c5500000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14476a87500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+eb9ee6...@syzkaller.appspotmail.com

wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
==================================================================
BUG: KASAN: use-after-free in drm_getunique+0x1cc/0x260 drivers/gpu/drm/drm_ioctl.c:118
Read of size 4 at addr ffff8880af2fcc98 by task syz-executor.0/8431

CPU: 0 PID: 8431 Comm: syz-executor.0 Not tainted 4.19.162-syzkaller #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+0x1fc/0x2fe lib/dump_stack.c:118
print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354
kasan_report mm/kasan/report.c:412 [inline]
__asan_report_load4_noabort+0x88/0x90 mm/kasan/report.c:432
drm_getunique+0x1cc/0x260 drivers/gpu/drm/drm_ioctl.c:118
drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:757
drm_ioctl+0x507/0x9c0 drivers/gpu/drm/drm_ioctl.c:857
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e0f9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fd079a87c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e0f9
RDX: 0000000020000180 RSI: 00000000c0145401 RDI: 0000000000000003
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007fff27d6482f R14: 00007fd079a889c0 R15: 000000000119c034

Allocated by task 8430:
kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625
kmalloc include/linux/slab.h:515 [inline]
kzalloc include/linux/slab.h:709 [inline]
drm_master_create+0x40/0x590 drivers/gpu/drm/drm_auth.c:101
drm_new_set_master+0x11c/0x4a0 drivers/gpu/drm/drm_auth.c:147
drm_master_open+0xee/0x120 drivers/gpu/drm/drm_auth.c:257
drm_open_helper drivers/gpu/drm/drm_file.c:376 [inline]
drm_open+0x4e5/0x810 drivers/gpu/drm/drm_file.c:316
drm_stub_open+0x290/0x410 drivers/gpu/drm/drm_drv.c:950
chrdev_open+0x266/0x770 fs/char_dev.c:423
do_dentry_open+0x4aa/0x1160 fs/open.c:796
do_last fs/namei.c:3421 [inline]
path_openat+0x793/0x2df0 fs/namei.c:3537
do_filp_open+0x18c/0x3f0 fs/namei.c:3567
do_sys_open+0x3b3/0x520 fs/open.c:1085
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

Freed by task 8430:
__cache_free mm/slab.c:3503 [inline]
kfree+0xcc/0x210 mm/slab.c:3822
drm_master_destroy drivers/gpu/drm/drm_auth.c:356 [inline]
kref_put include/linux/kref.h:70 [inline]
drm_master_put+0x1b5/0x240 drivers/gpu/drm/drm_auth.c:367
drm_new_set_master+0x2cd/0x4a0 drivers/gpu/drm/drm_auth.c:166
drm_setmaster_ioctl+0x291/0x3a0 drivers/gpu/drm/drm_auth.c:199
drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:757
drm_ioctl+0x507/0x9c0 drivers/gpu/drm/drm_ioctl.c:857
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

The buggy address belongs to the object at ffff8880af2fcc80
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
512-byte region [ffff8880af2fcc80, ffff8880af2fce80)
The buggy address belongs to the page:
page:ffffea0002bcbf00 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffffea0002ad6bc8 ffffea0002aff488 ffff88813bff0940
raw: 0000000000000000 ffff8880af2fc000 0000000100000006 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
ffff8880af2fcb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880af2fcc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8880af2fcc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff8880af2fcd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880af2fcd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================

syzbot

unread,
Dec 15, 2020, 10:58:11 AM12/15/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f2ecb86 Linux 4.14.212
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=103d240f500000
kernel config: https://syzkaller.appspot.com/x/.config?x=80549830ca6ffbb2
dashboard link: https://syzkaller.appspot.com/bug?extid=4f9a7322e7df98511d8c
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=177ea237500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4f9a73...@syzkaller.appspotmail.com

batman_adv: batadv0: Interface activated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Bluetooth: hci0 command 0x0409 tx timeout
==================================================================
BUG: KASAN: use-after-free in drm_getunique+0x1b4/0x250 drivers/gpu/drm/drm_ioctl.c:118
Read of size 4 at addr ffff8880af695818 by task syz-executor.0/8538

CPU: 1 PID: 8538 Comm: syz-executor.0 Not tainted 4.14.212-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252
kasan_report_error.cold+0x8a/0x194 mm/kasan/report.c:351
kasan_report mm/kasan/report.c:409 [inline]
__asan_report_load4_noabort+0x68/0x70 mm/kasan/report.c:429
drm_getunique+0x1b4/0x250 drivers/gpu/drm/drm_ioctl.c:118
drm_ioctl_kernel+0x14c/0x200 drivers/gpu/drm/drm_ioctl.c:736
drm_ioctl+0x419/0x870 drivers/gpu/drm/drm_ioctl.c:836
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45e159
RSP: 002b:00007fdd9f7dfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e159
RDX: 0000000020000180 RSI: 00000000c0145401 RDI: 0000000000000003
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007fff4256ec3f R14: 00007fdd9f7e09c0 R15: 000000000119c034

Allocated by task 8536:
save_stack mm/kasan/kasan.c:447 [inline]
set_track mm/kasan/kasan.c:459 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551
kmem_cache_alloc_trace+0x131/0x3d0 mm/slab.c:3618
kmalloc include/linux/slab.h:488 [inline]
kzalloc include/linux/slab.h:661 [inline]
drm_master_create drivers/gpu/drm/drm_auth.c:100 [inline]
drm_new_set_master+0x11a/0x5e0 drivers/gpu/drm/drm_auth.c:138
drm_master_open+0xee/0x120 drivers/gpu/drm/drm_auth.c:236
drm_open_helper drivers/gpu/drm/drm_file.c:251 [inline]
drm_open+0x873/0x1010 drivers/gpu/drm/drm_file.c:155
drm_stub_open+0x27b/0x400 drivers/gpu/drm/drm_drv.c:944
chrdev_open+0x23c/0x6d0 fs/char_dev.c:423
do_dentry_open+0x44b/0xec0 fs/open.c:777
vfs_open+0x105/0x220 fs/open.c:888
do_last fs/namei.c:3428 [inline]
path_openat+0x628/0x2970 fs/namei.c:3569
do_filp_open+0x179/0x3c0 fs/namei.c:3603
do_sys_open+0x296/0x410 fs/open.c:1081
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb

Freed by task 8536:
save_stack mm/kasan/kasan.c:447 [inline]
set_track mm/kasan/kasan.c:459 [inline]
kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524
__cache_free mm/slab.c:3496 [inline]
kfree+0xc9/0x250 mm/slab.c:3815
drm_master_destroy drivers/gpu/drm/drm_auth.c:322 [inline]
kref_put include/linux/kref.h:70 [inline]
drm_master_put+0x134/0x180 drivers/gpu/drm/drm_auth.c:333
drm_new_set_master+0x3b1/0x5e0 drivers/gpu/drm/drm_auth.c:157
drm_setmaster_ioctl+0x222/0x2c0 drivers/gpu/drm/drm_auth.c:190
drm_ioctl_kernel+0x14c/0x200 drivers/gpu/drm/drm_ioctl.c:736
drm_ioctl+0x419/0x870 drivers/gpu/drm/drm_ioctl.c:836
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb

The buggy address belongs to the object at ffff8880af695800
which belongs to the cache kmalloc-256 of size 256
The buggy address is located 24 bytes inside of
256-byte region [ffff8880af695800, ffff8880af695900)
The buggy address belongs to the page:
page:ffffea0002bda540 count:1 mapcount:0 mapping:ffff8880af695080 index:0xffff8880af695940
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffff8880af695080 ffff8880af695940 000000010000000a
raw: ffffea0002bda160 ffffea0002ca30e0 ffff88813fe807c0 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
ffff8880af695700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880af695780: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8880af695800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff8880af695880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880af695900: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Jun 25, 2021, 2:06:08 PM6/25/21
to syzkaller...@googlegroups.com
syzbot suspects this issue was fixed by commit:

commit 7d233ba700ceb593905ea82b42dadb4ec8ef85e9
Author: Desmond Cheong Zhi Xi <desmond...@gmail.com>
Date: Tue Jun 8 11:04:36 2021 +0000

drm: Fix use-after-free read in drm_getunique()

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=153c311c300000
start commit: 4abf2685 Linux 4.19.162
git tree: linux-4.19.y
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14476a87500000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: drm: Fix use-after-free read in drm_getunique()

For information about bisection process see: https://goo.gl/tpsmEJ#bisection
Reply all
Reply to author
Forward
0 new messages