# CVE-2024-47685: netfilter: nf\_reject\_ipv6: fix nf\_reject\_ip6\_tcphdr\_put()

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

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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:** 1.96% (percentile 81, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-10-21T11:53:26.486Z
- **Modified:** 2026-10-15T01:18:54.440Z

## Who should check

- Anyone running Linux \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 872eca64c3267dbc5836b715716fc6c03a18eda7; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7bcbc4cda777d26c88500d973fad0d497fc8a82e; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< dcf48ab3ca2c55b09c8f9c8de0df01c1943bc4e5; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fbff87d682e57ddbbe82abf6d0a1a4a36a98afcd; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< af4b8a704f26f38310655bad67fd8096293275a2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7a7b5a27c53b55e91eecf646d1b204e73fa4af93; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 10210658f827ad45061581cbfc05924b723e8922; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 9c778fe48d20ef362047e3376dee56d77f8500d4
- Anyone running Linux 3.18

## Description

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

netfilter: nf\_reject\_ipv6: fix nf\_reject\_ip6\_tcphdr\_put()

syzbot reported that nf\_reject\_ip6\_tcphdr\_put() was possibly sending
garbage on the four reserved tcp bits (th-\>res1)

Use skb\_put\_zero() to clear the whole TCP header,
as done in nf\_reject\_ip\_tcphdr\_put()

BUG: KMSAN: uninit-value in nf\_reject\_ip6\_tcphdr\_put+0x688/0x6c0 net/ipv6/netfilter/nf\_reject\_ipv6.c:255
  nf\_reject\_ip6\_tcphdr\_put+0x688/0x6c0 net/ipv6/netfilter/nf\_reject\_ipv6.c:255
  nf\_send\_reset6+0xd84/0x15b0 net/ipv6/netfilter/nf\_reject\_ipv6.c:344
  nft\_reject\_inet\_eval+0x3c1/0x880 net/netfilter/nft\_reject\_inet.c:48
  expr\_call\_ops\_eval net/netfilter/nf\_tables\_core.c:240 \[inline\]
  nft\_do\_chain+0x438/0x22a0 net/netfilter/nf\_tables\_core.c:288
  nft\_do\_chain\_inet+0x41a/0x4f0 net/netfilter/nft\_chain\_filter.c:161
  nf\_hook\_entry\_hookfn include/linux/netfilter.h:154 \[inline\]
  nf\_hook\_slow+0xf4/0x400 net/netfilter/core.c:626
  nf\_hook include/linux/netfilter.h:269 \[inline\]
  NF\_HOOK include/linux/netfilter.h:312 \[inline\]
  ipv6\_rcv+0x29b/0x390 net/ipv6/ip6\_input.c:310
  \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5661 \[inline\]
  \_\_netif\_receive\_skb+0x1da/0xa00 net/core/dev.c:5775
  process\_backlog+0x4ad/0xa50 net/core/dev.c:6108
  \_\_napi\_poll+0xe7/0x980 net/core/dev.c:6772
  napi\_poll net/core/dev.c:6841 \[inline\]
  net\_rx\_action+0xa5a/0x19b0 net/core/dev.c:6963
  handle\_softirqs+0x1ce/0x800 kernel/softirq.c:554
  \_\_do\_softirq+0x14/0x1a kernel/softirq.c:588
  do\_softirq+0x9a/0x100 kernel/softirq.c:455
  \_\_local\_bh\_enable\_ip+0x9f/0xb0 kernel/softirq.c:382
  local\_bh\_enable include/linux/bottom\_half.h:33 \[inline\]
  rcu\_read\_unlock\_bh include/linux/rcupdate.h:908 \[inline\]
  \_\_dev\_queue\_xmit+0x2692/0x5610 net/core/dev.c:4450
  dev\_queue\_xmit include/linux/netdevice.h:3105 \[inline\]
  neigh\_resolve\_output+0x9ca/0xae0 net/core/neighbour.c:1565
  neigh\_output include/net/neighbour.h:542 \[inline\]
  ip6\_finish\_output2+0x2347/0x2ba0 net/ipv6/ip6\_output.c:141
  \_\_ip6\_finish\_output net/ipv6/ip6\_output.c:215 \[inline\]
  ip6\_finish\_output+0xbb8/0x14b0 net/ipv6/ip6\_output.c:226
  NF\_HOOK\_COND include/linux/netfilter.h:303 \[inline\]
  ip6\_output+0x356/0x620 net/ipv6/ip6\_output.c:247
  dst\_output include/net/dst.h:450 \[inline\]
  NF\_HOOK include/linux/netfilter.h:314 \[inline\]
  ip6\_xmit+0x1ba6/0x25d0 net/ipv6/ip6\_output.c:366
  inet6\_csk\_xmit+0x442/0x530 net/ipv6/inet6\_connection\_sock.c:135
  \_\_tcp\_transmit\_skb+0x3b07/0x4880 net/ipv4/tcp\_output.c:1466
  tcp\_transmit\_skb net/ipv4/tcp\_output.c:1484 \[inline\]
  tcp\_connect+0x35b6/0x7130 net/ipv4/tcp\_output.c:4143
  tcp\_v6\_connect+0x1bcc/0x1e40 net/ipv6/tcp\_ipv6.c:333
  \_\_inet\_stream\_connect+0x2ef/0x1730 net/ipv4/af\_inet.c:679
  inet\_stream\_connect+0x6a/0xd0 net/ipv4/af\_inet.c:750
  \_\_sys\_connect\_file net/socket.c:2061 \[inline\]
  \_\_sys\_connect+0x606/0x690 net/socket.c:2078
  \_\_do\_sys\_connect net/socket.c:2088 \[inline\]
  \_\_se\_sys\_connect net/socket.c:2085 \[inline\]
  \_\_x64\_sys\_connect+0x91/0xe0 net/socket.c:2085
  x64\_sys\_call+0x27a5/0x3ba0 arch/x86/include/generated/asm/syscalls\_64.h:43
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Uninit was stored to memory at:
  nf\_reject\_ip6\_tcphdr\_put+0x60c/0x6c0 net/ipv6/netfilter/nf\_reject\_ipv6.c:249
  nf\_send\_reset6+0xd84/0x15b0 net/ipv6/netfilter/nf\_reject\_ipv6.c:344
  nft\_reject\_inet\_eval+0x3c1/0x880 net/netfilter/nft\_reject\_inet.c:48
  expr\_call\_ops\_eval net/netfilter/nf\_tables\_core.c:240 \[inline\]
  nft\_do\_chain+0x438/0x22a0 net/netfilter/nf\_tables\_core.c:288
  nft\_do\_chain\_inet+0x41a/0x4f0 net/netfilter/nft\_chain\_filter.c:161
  nf\_hook\_entry\_hookfn include/linux/netfilter.h:154 \[inline\]
  nf\_hook\_slow+0xf4/0x400 net/netfilter/core.c:626
  nf\_hook include/linux/netfilter.h:269 \[inline\]
  NF\_HOOK include/linux/netfilter.h:312 \[inline\]
  ipv6\_rcv+0x29b/0x390 net/ipv6/ip6\_input.c:310
  \_\_netif\_receive\_skb\_one\_core
---truncated---

## Affected and fixed versions

- Linux: \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 872eca64c3267dbc5836b715716fc6c03a18eda7; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7bcbc4cda777d26c88500d973fad0d497fc8a82e; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< dcf48ab3ca2c55b09c8f9c8de0df01c1943bc4e5; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fbff87d682e57ddbbe82abf6d0a1a4a36a98afcd; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< af4b8a704f26f38310655bad67fd8096293275a2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7a7b5a27c53b55e91eecf646d1b204e73fa4af93; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 10210658f827ad45061581cbfc05924b723e8922; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 9c778fe48d20ef362047e3376dee56d77f8500d4 (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- Upgrade Linux to 9c778fe48d20ef362047e3376dee56d77f8500d4 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-47685. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-47685.md
Affected: Linux >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < 872eca64c3267dbc5836b715716fc6c03a18eda7; >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < 7bcbc4cda777d26c88500d973fad0d497fc8a82e; >= c8d7b98bec43faaa6583c3135030be5eb4693acb, < dcf48ab3ca2c55b09c8f9c8de0df01c1943bc4e5; >= c8d7b98bec43faaa6583c31…
Fixed in: Linux 872eca64c3267dbc5836b715716fc6c03a18eda7, Linux 7bcbc4cda777d26c88500d973fad0d497fc8a82e, Linux 7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2, Linux 7a7b5a27c53b55e91eecf646d1b204e73fa4af93, Linux 10210658f827ad45061581cbfc05924b723e8922, Linux 9c778fe48d20ef362047e3376dee56d77f8500d4

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-47685 being exploited?

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

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

Critical: CVSS 9.1 (v3.1, scored by NVD). Remote, no login needed.

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

Linux \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 872eca64c3267dbc5836b715716fc6c03a18eda7; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7bcbc4cda777d26c88500d973fad0d497fc8a82e; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< dcf48ab3ca2c55b09c8f9c8de0df01c1943bc4e5; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< fbff87d682e57ddbbe82abf6d0a1a4a36a98afcd; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< af4b8a704f26f38310655bad67fd8096293275a2; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 7a7b5a27c53b55e91eecf646d1b204e73fa4af93; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 10210658f827ad45061581cbfc05924b723e8922; \>= c8d7b98bec43faaa6583c3135030be5eb4693acb, \< 9c778fe48d20ef362047e3376dee56d77f8500d4; Linux 3.18.

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

Yes. Fixed in Linux 872eca64c3267dbc5836b715716fc6c03a18eda7, Linux 7bcbc4cda777d26c88500d973fad0d497fc8a82e, Linux 7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2, Linux 7a7b5a27c53b55e91eecf646d1b204e73fa4af93, Linux 10210658f827ad45061581cbfc05924b723e8922, Linux 9c778fe48d20ef362047e3376dee56d77f8500d4. Upgrade Linux to 9c778fe48d20ef362047e3376dee56d77f8500d4 or later.

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

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/872eca64c3267dbc5836b715716fc6c03a18eda7>
- patch: <https://git.kernel.org/stable/c/7bcbc4cda777d26c88500d973fad0d497fc8a82e>
- patch: <https://git.kernel.org/stable/c/dcf48ab3ca2c55b09c8f9c8de0df01c1943bc4e5>
- patch: <https://git.kernel.org/stable/c/fbff87d682e57ddbbe82abf6d0a1a4a36a98afcd>
- patch: <https://git.kernel.org/stable/c/7ea2bcfd9bf4c3dbbf22546162226fd1c14d8ad2>
- patch: <https://git.kernel.org/stable/c/af4b8a704f26f38310655bad67fd8096293275a2>
- patch: <https://git.kernel.org/stable/c/7a7b5a27c53b55e91eecf646d1b204e73fa4af93>
- patch: <https://git.kernel.org/stable/c/10210658f827ad45061581cbfc05924b723e8922>
- patch: <https://git.kernel.org/stable/c/9c778fe48d20ef362047e3376dee56d77f8500d4>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-47685>

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