# CVE-2024-46763: fou: Fix null-ptr-deref in GRO.

> 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.93% (percentile 59, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:22.666Z
- **Modified:** 2026-08-05T11:38:25.634Z

## Who should check

- Anyone running Linux \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 231c235d2f7a66f018f172e26ffd47c363f244ef; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 4494bccb52ffda22ce5a1163a776d970e6229e08; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< d7567f098f54cb53ee3cee1c82e3d0ed9698b6b3; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 1df42be305fe478ded1ee0c1d775f4ece713483b; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< c46cd6aaca81040deaea3500ba75126963294bd9; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 7e4196935069947d8b70b09c1660b67b067e75cb
- Anyone running Linux 4.7

## Description

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

fou: Fix null-ptr-deref in GRO.

We observed a null-ptr-deref in fou\_gro\_receive() while shutting down
a host.  \[0\]

The NULL pointer is sk-\>sk\_user\_data, and the offset 8 is of protocol
in struct fou.

When fou\_release() is called due to netns dismantle or explicit tunnel
teardown, udp\_tunnel\_sock\_release() sets NULL to sk-\>sk\_user\_data.
Then, the tunnel socket is destroyed after a single RCU grace period.

So, in-flight udp4\_gro\_receive() could find the socket and execute the
FOU GRO handler, where sk-\>sk\_user\_data could be NULL.

Let's use rcu\_dereference\_sk\_user\_data() in fou\_from\_sock() and add NULL
checks in FOU GRO handlers.

\[0\]:
BUG: kernel NULL pointer dereference, address: 0000000000000008
 PF: supervisor read access in kernel mode
 PF: error\_code(0x0000) - not-present page
PGD 80000001032f4067 P4D 80000001032f4067 PUD 103240067 PMD 0
SMP PTI
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.216-204.855.amzn2.x86\_64 \#1
Hardware name: Amazon EC2 c5.large/, BIOS 1.0 10/16/2017
RIP: 0010:fou\_gro\_receive (net/ipv4/fou.c:233) \[fou\]
Code: 41 5f c3 cc cc cc cc e8 e7 2e 69 f4 0f 1f 80 00 00 00 00 0f 1f 44 00 00 49 89 f8 41 54 48 89 f7 48 89 d6 49 8b 80 88 02 00 00 \<0f\> b6 48 08 0f b7 42 4a 66 25 fd fd 80 cc 02 66 89 42 4a 0f b6 42
RSP: 0018:ffffa330c0003d08 EFLAGS: 00010297
RAX: 0000000000000000 RBX: ffff93d9e3a6b900 RCX: 0000000000000010
RDX: ffff93d9e3a6b900 RSI: ffff93d9e3a6b900 RDI: ffff93dac2e24d08
RBP: ffff93d9e3a6b900 R08: ffff93dacbce6400 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffffb5f369b0 R12: ffff93dacbce6400
R13: ffff93dac2e24d08 R14: 0000000000000000 R15: ffffffffb4edd1c0
FS:  0000000000000000(0000) GS:ffff93daee800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 0000000102140001 CR4: 00000000007706f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
 \<IRQ\>
 ? show\_trace\_log\_lvl (arch/x86/kernel/dumpstack.c:259)
 ? \_\_die\_body.cold (arch/x86/kernel/dumpstack.c:478 arch/x86/kernel/dumpstack.c:420)
 ? no\_context (arch/x86/mm/fault.c:752)
 ? exc\_page\_fault (arch/x86/include/asm/irqflags.h:49 arch/x86/include/asm/irqflags.h:89 arch/x86/mm/fault.c:1435 arch/x86/mm/fault.c:1483)
 ? asm\_exc\_page\_fault (arch/x86/include/asm/idtentry.h:571)
 ? fou\_gro\_receive (net/ipv4/fou.c:233) \[fou\]
 udp\_gro\_receive (include/linux/netdevice.h:2552 net/ipv4/udp\_offload.c:559)
 udp4\_gro\_receive (net/ipv4/udp\_offload.c:604)
 inet\_gro\_receive (net/ipv4/af\_inet.c:1549 (discriminator 7))
 dev\_gro\_receive (net/core/dev.c:6035 (discriminator 4))
 napi\_gro\_receive (net/core/dev.c:6170)
 ena\_clean\_rx\_irq (drivers/amazon/net/ena/ena\_netdev.c:1558) \[ena\]
 ena\_io\_poll (drivers/amazon/net/ena/ena\_netdev.c:1742) \[ena\]
 napi\_poll (net/core/dev.c:6847)
 net\_rx\_action (net/core/dev.c:6917)
 \_\_do\_softirq (arch/x86/include/asm/jump\_label.h:25 include/linux/jump\_label.h:200 include/trace/events/irq.h:142 kernel/softirq.c:299)
 asm\_call\_irq\_on\_stack (arch/x86/entry/entry\_64.S:809)
\</IRQ\>
 do\_softirq\_own\_stack (arch/x86/include/asm/irq\_stack.h:27 arch/x86/include/asm/irq\_stack.h:77 arch/x86/kernel/irq\_64.c:77)
 irq\_exit\_rcu (kernel/softirq.c:393 kernel/softirq.c:423 kernel/softirq.c:435)
 common\_interrupt (arch/x86/kernel/irq.c:239)
 asm\_common\_interrupt (arch/x86/include/asm/idtentry.h:626)
RIP: 0010:acpi\_idle\_do\_entry (arch/x86/include/asm/irqflags.h:49 arch/x86/include/asm/irqflags.h:89 drivers/acpi/processor\_idle.c:114 drivers/acpi/processor\_idle.c:575)
Code: 8b 15 d1 3c c4 02 ed c3 cc cc cc cc 65 48 8b 04 25 40 ef 01 00 48 8b 00 a8 08 75 eb 0f 1f 44 00 00 0f 00 2d d5 09 55 00 fb f4 \<fa\> c3 cc cc cc cc e9 be fc ff ff 66 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffffffb5603e58 EFLAGS: 00000246
RAX: 0000000000004000 RBX: ffff93dac0929c00 RCX: ffff93daee833900
RDX: ffff93daee800000 RSI: ffff93d
---truncated---

## Affected and fixed versions

- Linux: \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 231c235d2f7a66f018f172e26ffd47c363f244ef; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 4494bccb52ffda22ce5a1163a776d970e6229e08; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< d7567f098f54cb53ee3cee1c82e3d0ed9698b6b3; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 1df42be305fe478ded1ee0c1d775f4ece713483b; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< c46cd6aaca81040deaea3500ba75126963294bd9; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 7e4196935069947d8b70b09c1660b67b067e75cb (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-46763.md
Affected: Linux >= d92283e338f6d6503b7417536bf3478f466cbc01, < 231c235d2f7a66f018f172e26ffd47c363f244ef; >= d92283e338f6d6503b7417536bf3478f466cbc01, < 4494bccb52ffda22ce5a1163a776d970e6229e08; >= d92283e338f6d6503b7417536bf3478f466cbc01, < d7567f098f54cb53ee3cee1c82e3d0ed9698b6b3; >= d92283e338f6d6503b74175…
Fixed in: Linux 231c235d2f7a66f018f172e26ffd47c363f244ef, Linux 4494bccb52ffda22ce5a1163a776d970e6229e08, Linux 1df42be305fe478ded1ee0c1d775f4ece713483b, Linux 7e4196935069947d8b70b09c1660b67b067e75cb

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

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

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

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

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

Linux \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 231c235d2f7a66f018f172e26ffd47c363f244ef; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 4494bccb52ffda22ce5a1163a776d970e6229e08; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< d7567f098f54cb53ee3cee1c82e3d0ed9698b6b3; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 1df42be305fe478ded1ee0c1d775f4ece713483b; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< c46cd6aaca81040deaea3500ba75126963294bd9; \>= d92283e338f6d6503b7417536bf3478f466cbc01, \< 7e4196935069947d8b70b09c1660b67b067e75cb; Linux 4.7.

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

Yes. Fixed in Linux 231c235d2f7a66f018f172e26ffd47c363f244ef, Linux 4494bccb52ffda22ce5a1163a776d970e6229e08, Linux 1df42be305fe478ded1ee0c1d775f4ece713483b, Linux 7e4196935069947d8b70b09c1660b67b067e75cb. Upgrade Linux to 7e4196935069947d8b70b09c1660b67b067e75cb or later.

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

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/231c235d2f7a66f018f172e26ffd47c363f244ef>
- patch: <https://git.kernel.org/stable/c/4494bccb52ffda22ce5a1163a776d970e6229e08>
- patch: <https://git.kernel.org/stable/c/d7567f098f54cb53ee3cee1c82e3d0ed9698b6b3>
- patch: <https://git.kernel.org/stable/c/1df42be305fe478ded1ee0c1d775f4ece713483b>
- patch: <https://git.kernel.org/stable/c/c46cd6aaca81040deaea3500ba75126963294bd9>
- patch: <https://git.kernel.org/stable/c/7e4196935069947d8b70b09c1660b67b067e75cb>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.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-46763>

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