UBSAN: shift-out-of-bounds in meta_int_apply_extras

Status: upstream: reported on 2026/11/27 03:27
Reported-by: syzbot+97a4b52cb82bb4203998@syzkaller.appspotmail.com
First crash: 14h11m, last: 14h11m
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 UBSAN: shift-out-of-bounds in meta_int_apply_extras -1 3 11d 11d 0/3 upstream: reported on 2026/11/16 16:10
android-5-15 UBSAN: shift-out-of-bounds in meta_int_apply_extras origin:upstream -1 syz, C 10 4d22h 40d 0/2 upstream: reported C repro on 2026/10/18 03:48
android-6-1 UBSAN: shift-out-of-bounds in meta_int_apply_extras origin:upstream -1 syz, C 9 11d 47d 0/2 upstream: reported C repro on 2026/10/11 05:45

Sample crash report:
================================================================================
UBSAN: shift-out-of-bounds in net/sched/em_meta.c:763:14
shift exponent 252 is too large for 64-bit type 'unsigned long'
CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151
 __ubsan_handle_shift_out_of_bounds+0x364/0x3f0 lib/ubsan.c:321
 meta_int_apply_extras+0x12e/0x140 net/sched/em_meta.c:763
 meta_get+0x1f3/0x3f0 net/sched/em_meta.c:838
 em_meta_match+0xec/0x2f0 net/sched/em_meta.c:850
 tcf_em_match net/sched/ematch.c:494 [inline]
 __tcf_em_tree_match+0x1cb/0x7a0 net/sched/ematch.c:520
 tcf_em_tree_match include/net/pkt_cls.h:463 [inline]
 basic_classify+0x111/0x2c0 net/sched/cls_basic.c:48
 __tcf_classify net/sched/cls_api.c:1556 [inline]
 tcf_classify+0x218/0xad0 net/sched/cls_api.c:1622
 sch_handle_ingress net/core/dev.c:5201 [inline]
 __netif_receive_skb_core+0x1cf5/0x3690 net/core/dev.c:5414
 __netif_receive_skb_one_core net/core/dev.c:5557 [inline]
 __netif_receive_skb+0x74/0x290 net/core/dev.c:5673
 process_backlog+0x366/0x770 net/core/dev.c:6550
 __napi_poll+0xbb/0x430 net/core/dev.c:7109
 napi_poll net/core/dev.c:7176 [inline]
 net_rx_action+0x522/0xa80 net/core/dev.c:7266
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943
 smpboot_thread_fn+0x520/0x990 kernel/smpboot.c:164
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
================================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/27 03:26 linux-5.15.y 4f2df9a01754 f1f6b8bf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan UBSAN: shift-out-of-bounds in meta_int_apply_extras
* Struck through repros no longer work on HEAD.