cbcvebase.
CVE-2021-47606
published 2024-06-19

CVE-2021-47606: In the Linux kernel, the following vulnerability has been resolved: net: netlink: af_netlink: Prevent empty skb by adding a check on len. Adding a check on len…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.2th percentile
In the Linux kernel, the following vulnerability has been resolved: net: netlink: af_netlink: Prevent empty skb by adding a check on len. Adding a check on len parameter to avoid empty skb. This prevents a division error in netem_enqueue function which is caused when skb->len=0 and skb->data_len=0 in the randomized corruption step as shown below. skb->data[prandom_u32() % skb_headlen(skb)] ^= 1 f1 48 b8 00 00 00 00 00 fc ff df 49 01 d5 4c 89 e9 48 c1 e9 03 [ 343.241883] RSP: 0018:ffff88800bcd7368 EFLAGS: 00010246 [ 343.242589] RAX: 00000000ba7c0a9c RBX: 0000000000000001 RCX: 0000000000000000 [ 343.243542] RDX: 0000000000000000 RSI: ffff88800f8edb10 RDI: ffff88800f8eda40 [ 343.244474] RBP: ffff88800bcd7458 R08: 0000000000000000 R09: ffffffff94fb8445 [ 343.245403] R10: ffffffff94fb8336 R11: ffffffff94fb8445 R12: 0000000000000000 [ 343.246355] R13: ffff88800a5a7000 R14: ffff88800a5b5800 R15: 0000000000000020 [ 343.247291] FS: 00007fdde2bd7700(0000) GS:ffff888109780000(0000) knlGS:0000000000000000 [ 343.248350] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 343.249120] CR2: 00000000200000c0 CR3: 000000000ef4c000 CR4: 00000000000006e0 [ 343.250076] Call Trace: [ 343.250423] [ 343.250713] ? memcpy+0x4d/0x60 [ 343.251162] ? netem_init+0xa0/0xa0 [sch_netem] [ 343.251795] ? __sanitizer_cov_trace_pc+0x21/0x60 [ 343.252443] netem_enqueue+0xe28/0x33c0 [sch_netem] [ 343.253102] ? stack_trace_save+0x87/0xb0 [ 343.253655] ? filter_irq_stacks+0xb0/0xb0 [ 343.254220] ? netem_init+0xa0/0xa0 [sch_netem] [ 343.254837] ? __kasan_check_write+0x14/0x20 [ 343.255418] ? _raw_spin_lock+0x88/0xd6 [ 343.255953] dev_qdisc_enqueue+0x50/0x180 [ 343.256508] __dev_queue_xmit+0x1a7e/0x3090 [ 343.257083] ? netdev_core_pick_tx+0x300/0x300 [ 343.257690] ? check_kcov_mode+0x10/0x40 [ 343.258219] ? _raw_spin_unlock_irqrestore+0x29/0x40 [ 343.258899] ? __kasan_init_slab_obj+0x24/0x30 [ 343.259529] ? setup_object.isra.71+0x23/0x90 [ 343.260121] ? new_slab+0x26e/0x4b0 [ 343.260609] ? kasan_poison+0x3

Affected

23 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.15.15-1 (bookworm)linux 5.15.15-1 (bookworm)
linuxlinux
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < c54a60c8fbaa774f828e26df79f66229a8a0e010c54a60c8fbaa774f828e26df79f66229a8a0e010
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < 40cf2e058832d9cfaae98dfd77334926275598b640cf2e058832d9cfaae98dfd77334926275598b6
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < 54e785f7d5c197bc06dbb8053700df7e2a093ced54e785f7d5c197bc06dbb8053700df7e2a093ced
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < ff3f517bf7138e01a17369042908a3f345c0ee41ff3f517bf7138e01a17369042908a3f345c0ee41
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < c0315e93552e0d840e9edc6abd71c7db82ec8f51c0315e93552e0d840e9edc6abd71c7db82ec8f51
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < dadce61247c6230489527cc5e343b6002d1114c5dadce61247c6230489527cc5e343b6002d1114c5
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < 4c986072a8c9249b9398c7a18f216dc26a9f0e354c986072a8c9249b9398c7a18f216dc26a9f0e35
linuxlinux>= bcbde0d449eda7afa8f63280b165c8300dbd00e2 < f123cffdd8fe8ea6c7fded4b88516a42798797d0f123cffdd8fe8ea6c7fded4b88516a42798797d0
linuxlinux_kernel< 4.4.2964.4.296
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.92-15.10.92-1
linuxlinux_kernel>= 0 < 5.15.15-15.15.15-1
linuxlinux_kernel>= 0 < 5.15.15-15.15.15-1
linuxlinux_kernel>= 0 < 5.15.15-15.15.15-1
linuxlinux_kernel>= 0 < 4.4.0-266.3004.4.0-266.300
linuxlinux_kernel>= 4.10 < 4.14.2594.14.259
linuxlinux_kernel>= 4.15 < 4.19.2224.19.222
linuxlinux_kernel>= 4.20 < 5.4.1675.4.167
linuxlinux_kernel>= 4.5 < 4.9.2944.9.294
linuxlinux_kernel>= 5.11 < 5.15.105.15.10
linuxlinux_kernel>= 5.5 < 5.10.875.10.87

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.