===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 CPU: 1 PID: 9922 Comm: syz-executor243 Not tainted 5.8.0-rc5-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+0x1df/0x240 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 unwind_next_frame+0x8c6/0xed0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x33e/0x3e0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1a0 kernel/stacktrace.c:123 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116 pskb_carve_inside_nonlinear net/core/skbuff.c:5956 [inline] pskb_carve+0x801/0x2b20 net/core/skbuff.c:6024 pskb_extract+0x102/0x420 net/core/skbuff.c:6038 rds_tcp_data_recv+0x8ba/0x1670 net/rds/tcp_recv.c:218 tcp_read_sock+0x838/0x2350 net/ipv4/tcp.c:1646 rds_tcp_read_sock net/rds/tcp_recv.c:276 [inline] rds_tcp_data_ready+0x2b3/0x680 net/rds/tcp_recv.c:325 tcp_data_ready net/ipv4/tcp_input.c:4795 [inline] tcp_rcv_established+0x2dca/0x3280 net/ipv4/tcp_input.c:5724 tcp_v6_do_rcv+0x89c/0x1d00 net/ipv6/tcp_ipv6.c:1449 tcp_v6_rcv+0x444c/0x4cb0 net/ipv6/tcp_ipv6.c:1682 ip6_protocol_deliver_rcu+0x13c3/0x22c0 net/ipv6/ip6_input.c:433 ip6_input_finish net/ipv6/ip6_input.c:474 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip6_input+0x2af/0x340 net/ipv6/ip6_input.c:483 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ipv6_rcv+0x683/0x710 net/ipv6/ip6_input.c:307 __netif_receive_skb_one_core net/core/dev.c:5281 [inline] __netif_receive_skb net/core/dev.c:5395 [inline] process_backlog+0x72c/0x14e0 net/core/dev.c:6239 napi_poll net/core/dev.c:6684 [inline] net_rx_action+0x746/0x1aa0 net/core/dev.c:6752 __do_softirq+0x311/0x83d kernel/softirq.c:293 asm_call_on_stack+0x12/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_call_function_single+0x107/0x130 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:601 RIP: 0010:finish_lock_switch+0x2b/0x40 kernel/sched/core.c:3198 Code: 48 89 e5 53 48 89 fb e8 23 d2 a6 00 8b b8 88 0c 00 00 48 8b 00 48 85 c0 75 12 48 89 df e8 ad cb a6 00 c6 00 00 c6 03 00 fb 5b <5d> c3 e8 5e d1 a6 00 eb e7 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 RSP: 0018:ffffb19b8269bc78 EFLAGS: 00000286 RAX: ffff88b29fdb41c0 RBX: ffff88b134843d00 RCX: 0000000000a9f169 RDX: ffff88b29fd151c0 RSI: 00000000000004a0 RDI: ffff88b1afd941c0 RBP: ffffb19b8269bc78 R08: fffffc970000000f R09: ffff88b1afffb000 R10: ffff88b1325d3000 R11: 0000000000000000 R12: ffff88b1a52ddb80 R13: ffff88b1348446d8 R14: ffff88b1a52ddb80 R15: ffff88b1afd941c0 finish_task_switch+0xd4/0x2f0 kernel/sched/core.c:3303 context_switch kernel/sched/core.c:3467 [inline] __schedule+0x752/0x840 kernel/sched/core.c:4195 schedule+0x260/0x330 kernel/sched/core.c:4270 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x244/0x940 kernel/time/hrtimer.c:1879 hrtimer_nanosleep kernel/time/hrtimer.c:1932 [inline] __do_sys_nanosleep kernel/time/hrtimer.c:1966 [inline] __se_sys_nanosleep+0x53c/0x760 kernel/time/hrtimer.c:1953 __x64_sys_nanosleep+0x3e/0x60 kernel/time/hrtimer.c:1953 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x449631 Code: Bad RIP value. RSP: 002b:00007ffc676f7280 EFLAGS: 00000293 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 000000000000004f RCX: 0000000000449631 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffc676f7290 RBP: 00000000006e7a2c R08: 00000000004b3a4f R09: 00000000004b3a4f R10: 00000000004b3a4f R11: 0000000000000293 R12: 00000000006e7a30 R13: 0000000000000002 R14: 000000000000002d R15: 20c49ba5e353f7cf Local variable ----filename@ima_file_mprotect created at: ima_file_mprotect+0x89/0x5c0 security/integrity/ima/ima_main.c:412 ima_file_mprotect+0x89/0x5c0 security/integrity/ima/ima_main.c:412 =====================================================