Extracting prog: 1m23.083687897s Minimizing prog: 4m42.441446071s Simplifying prog options: 0s Extracting C: 37.625847472s Simplifying C: 4m57.086861345s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r1}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program crashed: general protection fault in crypt_setkey program crashed: general protection fault in crypt_setkey single: successfully extracted reproducer found reproducer with 3 syscalls minimizing guilty program testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: ioctl$DM_DEV_CREATE(0xffffffffffffffff, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(0xffffffffffffffff, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r0}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, 0x0, 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r1}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, 0x0) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey simplifying C reproducer testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD program crashed: general protection fault in crypt_setkey testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r1}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program crashed: general protection fault in crypt_setkey validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r1}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program crashed: general protection fault in crypt_setkey validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TABLE_LOAD detailed listing: executing program 0: r0 = openat$dm_control(0xffffff9c, &(0x7f00000001c0), 0x80, 0x0) ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000200)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, {'syz', 0x0, '1\x00'}}}) ioctl$DM_TABLE_LOAD(r0, 0xc138fd09, &(0x7f0000000540)={0x4, 0x0, 0x0, 0x228, 0x138, 0x1, 0x0, 0x80800, 0x0, 0x0, @by_dev={r1}, [@crypt={0x0, 0x3050, 0x0, 0xf0, 'crypt\x00', {'capi:rfc7539(chacha20,poly1305)-random', 0x20, @fixed='0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 0x20, '0', 0x20, {@ram={'/dev/ram', 0x1}, 0x20, '4096'}, ' 2 integrity:32:aead integrity_key_size:32'}}]}) program crashed: general protection fault in crypt_setkey validation run: crashed=true reproducing took 14m20.060051s repro crashed as (corrupted=false): Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 381 Comm: syz.2.17 Not tainted syzkaller #0 89738cdce93e33c1079eaf7360b55d01ca9e3330 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:crypt_copy_authenckey drivers/md/dm-crypt.c:2476 [inline] RIP: 0010:crypt_setkey+0x1cc/0x990 drivers/md/dm-crypt.c:2497 Code: 00 74 09 e8 56 15 e1 fd 48 8b 55 d0 4c 8b ba f8 02 00 00 8b 5d cc 44 29 f3 49 8d 7f 04 41 89 dc 41 0f cc 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0b 07 00 00 45 89 67 04 4c 89 f8 48 c1 RSP: 0018:ffffc9000128f6a0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88812e9d93c0 RDX: ffff888114aff800 RSI: 0000000000000020 RDI: 0000000000000004 RBP: ffffc9000128f750 R08: ffff888114aff8bf R09: 1ffff1102295ff17 R10: dffffc0000000000 R11: ffffed102295ff18 R12: 0000000010000000 R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000 FS: 00005555696a6500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4773071220 CR3: 0000000114ede000 CR4: 00000000003526b0 Call Trace: crypt_set_key+0x340/0x6c0 drivers/md/dm-crypt.c:2719 crypt_ctr_cipher drivers/md/dm-crypt.c:3142 [inline] crypt_ctr+0x2156/0x3a80 drivers/md/dm-crypt.c:3329 dm_table_add_target+0x59f/0xcb0 drivers/md/dm-table.c:760 populate_table drivers/md/dm-ioctl.c:1494 [inline] table_load+0x2eb/0x7d0 drivers/md/dm-ioctl.c:1536 ctl_ioctl drivers/md/dm-ioctl.c:2107 [inline] dm_ctl_ioctl+0x8f0/0xde0 drivers/md/dm-ioctl.c:2129 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0x126/0x1b0 fs/ioctl.c:892 __x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892 x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f477319f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc5814c368 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4773425fa0 RCX: 00007f477319f559 RDX: 0000200000000540 RSI: 00000000c138fd09 RDI: 0000000000000003 RBP: 00007f4773236b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4773425fac R14: 00007f4773425fa0 R15: 00007f4773425fa0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:crypt_copy_authenckey drivers/md/dm-crypt.c:2476 [inline] RIP: 0010:crypt_setkey+0x1cc/0x990 drivers/md/dm-crypt.c:2497 Code: 00 74 09 e8 56 15 e1 fd 48 8b 55 d0 4c 8b ba f8 02 00 00 8b 5d cc 44 29 f3 49 8d 7f 04 41 89 dc 41 0f cc 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0b 07 00 00 45 89 67 04 4c 89 f8 48 c1 RSP: 0018:ffffc9000128f6a0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88812e9d93c0 RDX: ffff888114aff800 RSI: 0000000000000020 RDI: 0000000000000004 RBP: ffffc9000128f750 R08: ffff888114aff8bf R09: 1ffff1102295ff17 R10: dffffc0000000000 R11: ffffed102295ff18 R12: 0000000010000000 R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000 FS: 00005555696a6500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000001c0 CR3: 0000000114ede000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 00 74 09 e8 add %dh,-0x18(%rcx,%rcx,1) 4: 56 push %rsi 5: 15 e1 fd 48 8b adc $0x8b48fde1,%eax a: 55 push %rbp b: d0 4c 8b ba rorb $1,-0x46(%rbx,%rcx,4) f: f8 clc 10: 02 00 add (%rax),%al 12: 00 8b 5d cc 44 29 add %cl,0x2944cc5d(%rbx) 18: f3 49 8d 7f 04 repz lea 0x4(%r15),%rdi 1d: 41 89 dc mov %ebx,%r12d 20: 41 0f cc bswap %r12d 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 0b 07 00 00 jne 0x742 37: 45 89 67 04 mov %r12d,0x4(%r15) 3b: 4c 89 f8 mov %r15,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1 final repro crashed as (corrupted=false): Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 381 Comm: syz.2.17 Not tainted syzkaller #0 89738cdce93e33c1079eaf7360b55d01ca9e3330 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:crypt_copy_authenckey drivers/md/dm-crypt.c:2476 [inline] RIP: 0010:crypt_setkey+0x1cc/0x990 drivers/md/dm-crypt.c:2497 Code: 00 74 09 e8 56 15 e1 fd 48 8b 55 d0 4c 8b ba f8 02 00 00 8b 5d cc 44 29 f3 49 8d 7f 04 41 89 dc 41 0f cc 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0b 07 00 00 45 89 67 04 4c 89 f8 48 c1 RSP: 0018:ffffc9000128f6a0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88812e9d93c0 RDX: ffff888114aff800 RSI: 0000000000000020 RDI: 0000000000000004 RBP: ffffc9000128f750 R08: ffff888114aff8bf R09: 1ffff1102295ff17 R10: dffffc0000000000 R11: ffffed102295ff18 R12: 0000000010000000 R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000 FS: 00005555696a6500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4773071220 CR3: 0000000114ede000 CR4: 00000000003526b0 Call Trace: crypt_set_key+0x340/0x6c0 drivers/md/dm-crypt.c:2719 crypt_ctr_cipher drivers/md/dm-crypt.c:3142 [inline] crypt_ctr+0x2156/0x3a80 drivers/md/dm-crypt.c:3329 dm_table_add_target+0x59f/0xcb0 drivers/md/dm-table.c:760 populate_table drivers/md/dm-ioctl.c:1494 [inline] table_load+0x2eb/0x7d0 drivers/md/dm-ioctl.c:1536 ctl_ioctl drivers/md/dm-ioctl.c:2107 [inline] dm_ctl_ioctl+0x8f0/0xde0 drivers/md/dm-ioctl.c:2129 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0x126/0x1b0 fs/ioctl.c:892 __x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892 x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f477319f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc5814c368 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4773425fa0 RCX: 00007f477319f559 RDX: 0000200000000540 RSI: 00000000c138fd09 RDI: 0000000000000003 RBP: 00007f4773236b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4773425fac R14: 00007f4773425fa0 R15: 00007f4773425fa0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:crypt_copy_authenckey drivers/md/dm-crypt.c:2476 [inline] RIP: 0010:crypt_setkey+0x1cc/0x990 drivers/md/dm-crypt.c:2497 Code: 00 74 09 e8 56 15 e1 fd 48 8b 55 d0 4c 8b ba f8 02 00 00 8b 5d cc 44 29 f3 49 8d 7f 04 41 89 dc 41 0f cc 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0b 07 00 00 45 89 67 04 4c 89 f8 48 c1 RSP: 0018:ffffc9000128f6a0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88812e9d93c0 RDX: ffff888114aff800 RSI: 0000000000000020 RDI: 0000000000000004 RBP: ffffc9000128f750 R08: ffff888114aff8bf R09: 1ffff1102295ff17 R10: dffffc0000000000 R11: ffffed102295ff18 R12: 0000000010000000 R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000 FS: 00005555696a6500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000001c0 CR3: 0000000114ede000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 00 74 09 e8 add %dh,-0x18(%rcx,%rcx,1) 4: 56 push %rsi 5: 15 e1 fd 48 8b adc $0x8b48fde1,%eax a: 55 push %rbp b: d0 4c 8b ba rorb $1,-0x46(%rbx,%rcx,4) f: f8 clc 10: 02 00 add (%rax),%al 12: 00 8b 5d cc 44 29 add %cl,0x2944cc5d(%rbx) 18: f3 49 8d 7f 04 repz lea 0x4(%r15),%rdi 1d: 41 89 dc mov %ebx,%r12d 20: 41 0f cc bswap %r12d 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 0b 07 00 00 jne 0x742 37: 45 89 67 04 mov %r12d,0x4(%r15) 3b: 4c 89 f8 mov %r15,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1