# CVE-2024-50256: netfilter: nf\_reject\_ipv6: fix potential crash in nf\_send\_reset6()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **Published:** 2024-11-09T10:15:09.551Z
- **Modified:** 2026-08-05T11:42:48.642Z

## Who should check

- Anyone running Linux \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4f7b586aae53c2ed820661803da8ce18b1361921; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fef63832317d9d24e1214cdd8f204d02ebdf8499; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< f85b057e34419e5ec0583a65078a11ccc1d4540a; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4ed234fe793f27a3b151c43d2106df2ff0d81aac
- Anyone running Linux 3.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf\_reject\_ipv6: fix potential crash in nf\_send\_reset6()

I got a syzbot report without a repro \[1\] crashing in nf\_send\_reset6()

I think the issue is that dev-\>hard\_header\_len is zero, and we attempt
later to push an Ethernet header.

Use LL\_MAX\_HEADER, as other functions in net/ipv6/netfilter/nf\_reject\_ipv6.c.

\[1\]

skbuff: skb\_under\_panic: text:ffffffff89b1d008 len:74 put:14 head:ffff88803123aa00 data:ffff88803123a9f2 tail:0x3c end:0x140 dev:syz\_tun
 kernel BUG at net/core/skbuff.c:206 !
Oops: invalid opcode: 0000 \[\#1\] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 7373 Comm: syz.1.568 Not tainted 6.12.0-rc2-syzkaller-00631-g6d858708d465 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
 RIP: 0010:skb\_panic net/core/skbuff.c:206 \[inline\]
 RIP: 0010:skb\_under\_panic+0x14b/0x150 net/core/skbuff.c:216
Code: 0d 8d 48 c7 c6 60 a6 29 8e 48 8b 54 24 08 8b 0c 24 44 8b 44 24 04 4d 89 e9 50 41 54 41 57 41 56 e8 ba 30 38 02 48 83 c4 20 90 \<0f\> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc900045269b0 EFLAGS: 00010282
RAX: 0000000000000088 RBX: dffffc0000000000 RCX: cd66dacdc5d8e800
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffff88802d39a3d0 R08: ffffffff8174afec R09: 1ffff920008a4ccc
R10: dffffc0000000000 R11: fffff520008a4ccd R12: 0000000000000140
R13: ffff88803123aa00 R14: ffff88803123a9f2 R15: 000000000000003c
FS:  00007fdbee5ff6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005d322000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  skb\_push+0xe5/0x100 net/core/skbuff.c:2636
  eth\_header+0x38/0x1f0 net/ethernet/eth.c:83
  dev\_hard\_header include/linux/netdevice.h:3208 \[inline\]
  nf\_send\_reset6+0xce6/0x1270 net/ipv6/netfilter/nf\_reject\_ipv6.c:358
  nft\_reject\_inet\_eval+0x3b9/0x690 net/netfilter/nft\_reject\_inet.c:48
  expr\_call\_ops\_eval net/netfilter/nf\_tables\_core.c:240 \[inline\]
  nft\_do\_chain+0x4ad/0x1da0 net/netfilter/nf\_tables\_core.c:288
  nft\_do\_chain\_inet+0x418/0x6b0 net/netfilter/nft\_chain\_filter.c:161
  nf\_hook\_entry\_hookfn include/linux/netfilter.h:154 \[inline\]
  nf\_hook\_slow+0xc3/0x220 net/netfilter/core.c:626
  nf\_hook include/linux/netfilter.h:269 \[inline\]
  NF\_HOOK include/linux/netfilter.h:312 \[inline\]
  br\_nf\_pre\_routing\_ipv6+0x63e/0x770 net/bridge/br\_netfilter\_ipv6.c:184
  nf\_hook\_entry\_hookfn include/linux/netfilter.h:154 \[inline\]
  nf\_hook\_bridge\_pre net/bridge/br\_input.c:277 \[inline\]
  br\_handle\_frame+0x9fd/0x1530 net/bridge/br\_input.c:424
  \_\_netif\_receive\_skb\_core+0x13e8/0x4570 net/core/dev.c:5562
  \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5666 \[inline\]
  \_\_netif\_receive\_skb+0x12f/0x650 net/core/dev.c:5781
  netif\_receive\_skb\_internal net/core/dev.c:5867 \[inline\]
  netif\_receive\_skb+0x1e8/0x890 net/core/dev.c:5926
  tun\_rx\_batched+0x1b7/0x8f0 drivers/net/tun.c:1550
  tun\_get\_user+0x3056/0x47e0 drivers/net/tun.c:2007
  tun\_chr\_write\_iter+0x10d/0x1f0 drivers/net/tun.c:2053
  new\_sync\_write fs/read\_write.c:590 \[inline\]
  vfs\_write+0xa6d/0xc90 fs/read\_write.c:683
  ksys\_write+0x183/0x2b0 fs/read\_write.c:736
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7fdbeeb7d1ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48
RSP: 002b:00007fdbee5ff000 EFLAGS: 00000293 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdbeed36058 RCX: 00007fdbeeb7d1ff
RDX: 000000000000008e RSI: 0000000020000040 RDI: 00000000000000c8
RBP: 00007fdbeebf12be R08: 0000000
---truncated---

## Affected and fixed versions

- Linux: \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4f7b586aae53c2ed820661803da8ce18b1361921; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fef63832317d9d24e1214cdd8f204d02ebdf8499; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< f85b057e34419e5ec0583a65078a11ccc1d4540a; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4ed234fe793f27a3b151c43d2106df2ff0d81aac (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- Upgrade Linux to 4ed234fe793f27a3b151c43d2106df2ff0d81aac or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50256. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50256.md
Affected: Linux >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < 4f7b586aae53c2ed820661803da8ce18b1361921; >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < fef63832317d9d24e1214cdd8f204d02ebdf8499; >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < f85b057e34419e5ec0583a65078a11ccc1d4540a; >= c8d7b98bec43faaa6583c31…
Fixed in: Linux 4f7b586aae53c2ed820661803da8ce18b1361921, Linux 4ed234fe793f27a3b151c43d2106df2ff0d81aac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50256 being exploited?

There is no confirmed exploitation: CVE-2024-50256 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50256?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-50256?

Linux \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4f7b586aae53c2ed820661803da8ce18b1361921; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fef63832317d9d24e1214cdd8f204d02ebdf8499; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< f85b057e34419e5ec0583a65078a11ccc1d4540a; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 4ed234fe793f27a3b151c43d2106df2ff0d81aac; Linux 3.18.

### Is there a fix for CVE-2024-50256?

Yes. Fixed in Linux 4f7b586aae53c2ed820661803da8ce18b1361921, Linux 4ed234fe793f27a3b151c43d2106df2ff0d81aac. Upgrade Linux to 4ed234fe793f27a3b151c43d2106df2ff0d81aac or later.

### How do I check if I'm affected by CVE-2024-50256?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4f7b586aae53c2ed820661803da8ce18b1361921>
- patch: <https://git.kernel.org/stable/c/fef63832317d9d24e1214cdd8f204d02ebdf8499>
- patch: <https://git.kernel.org/stable/c/f85b057e34419e5ec0583a65078a11ccc1d4540a>
- patch: <https://git.kernel.org/stable/c/4ed234fe793f27a3b151c43d2106df2ff0d81aac>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50256>

HTML: <https://flawdb.com/CVE-2024-50256> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50256>
