# CVE-2024-46782: ila: call nf\_unregister\_net\_hooks() sooner

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-09-18T07:12:38.652Z
- **Modified:** 2026-06-17T07:55:55.273Z

## Who should check

- Anyone running Linux \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 43d34110882b97ba1ec66cc8234b18983efb9abf; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< dcaf4e2216824839d26727a15b638c6a677bd9fc; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 93ee345ba349922834e6a9d1dadabaedcc12dce6; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< bda4d84ac0d5421b346faee720011f58bdb99673; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 925c18a7cff93d8a4320d652351294ff7d0ac93c; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 18a5a16940464b301ea91bf5da3a324aedb347b2; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 47abd8adddbc0aecb8f231269ef659148d5dabe4; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 031ae72825cef43e4650140b800ad58bf7a6a466
- Anyone running Linux 4.5

## Description

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

ila: call nf\_unregister\_net\_hooks() sooner

syzbot found an use-after-free Read in ila\_nf\_input \[1\]

Issue here is that ila\_xlat\_exit\_net() frees the rhashtable,
then call nf\_unregister\_net\_hooks().

It should be done in the reverse way, with a synchronize\_rcu().

This is a good match for a pre\_exit() method.

\[1\]
 BUG: KASAN: use-after-free in rht\_key\_hashfn include/linux/rhashtable.h:159 \[inline\]
 BUG: KASAN: use-after-free in \_\_rhashtable\_lookup include/linux/rhashtable.h:604 \[inline\]
 BUG: KASAN: use-after-free in rhashtable\_lookup include/linux/rhashtable.h:646 \[inline\]
 BUG: KASAN: use-after-free in rhashtable\_lookup\_fast+0x77a/0x9b0 include/linux/rhashtable.h:672
Read of size 4 at addr ffff888064620008 by task ksoftirqd/0/16

CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.11.0-rc4-syzkaller-00238-g2ad6d23f465a \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:93 \[inline\]
  dump\_stack\_lvl+0x241/0x360 lib/dump\_stack.c:119
  print\_address\_description mm/kasan/report.c:377 \[inline\]
  print\_report+0x169/0x550 mm/kasan/report.c:488
  kasan\_report+0x143/0x180 mm/kasan/report.c:601
  rht\_key\_hashfn include/linux/rhashtable.h:159 \[inline\]
  \_\_rhashtable\_lookup include/linux/rhashtable.h:604 \[inline\]
  rhashtable\_lookup include/linux/rhashtable.h:646 \[inline\]
  rhashtable\_lookup\_fast+0x77a/0x9b0 include/linux/rhashtable.h:672
  ila\_lookup\_wildcards net/ipv6/ila/ila\_xlat.c:132 \[inline\]
  ila\_xlat\_addr net/ipv6/ila/ila\_xlat.c:652 \[inline\]
  ila\_nf\_input+0x1fe/0x3c0 net/ipv6/ila/ila\_xlat.c:190
  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+0x29e/0x450 include/linux/netfilter.h:312
  \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5661 \[inline\]
  \_\_netif\_receive\_skb+0x1ea/0x650 net/core/dev.c:5775
  process\_backlog+0x662/0x15b0 net/core/dev.c:6108
  \_\_napi\_poll+0xcb/0x490 net/core/dev.c:6772
  napi\_poll net/core/dev.c:6841 \[inline\]
  net\_rx\_action+0x89b/0x1240 net/core/dev.c:6963
  handle\_softirqs+0x2c4/0x970 kernel/softirq.c:554
  run\_ksoftirqd+0xca/0x130 kernel/softirq.c:928
  smpboot\_thread\_fn+0x544/0xa30 kernel/smpboot.c:164
  kthread+0x2f0/0x390 kernel/kthread.c:389
  ret\_from\_fork+0x4b/0x80 arch/x86/kernel/process.c:147
  ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:244
 \</TASK\>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x64620
flags: 0xfff00000000000(node=0\|zone=1\|lastcpupid=0x7ff)
page\_type: 0xbfffffff(buddy)
raw: 00fff00000000000 ffffea0000959608 ffffea00019d9408 0000000000000000
raw: 0000000000000000 0000000000000003 00000000bfffffff 0000000000000000
page dumped because: kasan: bad access detected
page\_owner tracks the page as freed
page last allocated via order 3, migratetype Unmovable, gfp\_mask 0x52dc0(GFP\_KERNEL\|\_\_GFP\_NOWARN\|\_\_GFP\_NORETRY\|\_\_GFP\_COMP\|\_\_GFP\_ZERO), pid 5242, tgid 5242 (syz-executor), ts 73611328570, free\_ts 618981657187
  set\_page\_owner include/linux/page\_owner.h:32 \[inline\]
  post\_alloc\_hook+0x1f3/0x230 mm/page\_alloc.c:1493
  prep\_new\_page mm/page\_alloc.c:1501 \[inline\]
  get\_page\_from\_freelist+0x2e4c/0x2f10 mm/page\_alloc.c:3439
  \_\_alloc\_pages\_noprof+0x256/0x6c0 mm/page\_alloc.c:4695
  \_\_alloc\_pages\_node\_noprof include/linux/gfp.h:269 \[inline\]
  alloc\_pages\_node\_noprof include/linux/gfp.h:296 \[inline\]
  \_\_\_kmalloc\_large\_node+0x8b/0x1d0 mm/slub.c:4103
  \_\_kmalloc\_large\_node\_noprof+0x1a/0x80 mm/slub.c:4130
  \_\_do\_kmalloc\_node mm/slub.c:4146 \[inline\]
  \_\_kmalloc\_node\_noprof+0x2d2/0x440 mm/slub.c:4164
  \_\_kvmalloc\_node\_noprof+0x72/0x190 mm/util.c:650
  bucket\_table\_alloc lib/rhashtable.c:186 \[inline\]
  rhashtable\_init\_noprof+0x534/0xa60 lib/rhashtable.c:1071
  ila\_xlat\_init\_net+0xa0/0x110 net/ipv6/ila/ila\_xlat.c:613
  ops\_ini
---truncated---

## Affected and fixed versions

- Linux: \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 43d34110882b97ba1ec66cc8234b18983efb9abf; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< dcaf4e2216824839d26727a15b638c6a677bd9fc; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 93ee345ba349922834e6a9d1dadabaedcc12dce6; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< bda4d84ac0d5421b346faee720011f58bdb99673; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 925c18a7cff93d8a4320d652351294ff7d0ac93c; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 18a5a16940464b301ea91bf5da3a324aedb347b2; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 47abd8adddbc0aecb8f231269ef659148d5dabe4; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 031ae72825cef43e4650140b800ad58bf7a6a466 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-46782.md
Affected: Linux >= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, < 43d34110882b97ba1ec66cc8234b18983efb9abf; >= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, < dcaf4e2216824839d26727a15b638c6a677bd9fc; >= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, < 93ee345ba349922834e6a9d1dadabaedcc12dce6; >= 7f00feaf107645d95a6d87e…
Fixed in: Linux 43d34110882b97ba1ec66cc8234b18983efb9abf, Linux 93ee345ba349922834e6a9d1dadabaedcc12dce6, Linux 925c18a7cff93d8a4320d652351294ff7d0ac93c, Linux 18a5a16940464b301ea91bf5da3a324aedb347b2, Linux 47abd8adddbc0aecb8f231269ef659148d5dabe4, Linux 031ae72825cef43e4650140b800ad58bf7a6a466

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

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 43d34110882b97ba1ec66cc8234b18983efb9abf; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< dcaf4e2216824839d26727a15b638c6a677bd9fc; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 93ee345ba349922834e6a9d1dadabaedcc12dce6; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< bda4d84ac0d5421b346faee720011f58bdb99673; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 925c18a7cff93d8a4320d652351294ff7d0ac93c; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 18a5a16940464b301ea91bf5da3a324aedb347b2; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 47abd8adddbc0aecb8f231269ef659148d5dabe4; \>= 7f00feaf107645d95a6d87e99b4d141ac0a08efd, \< 031ae72825cef43e4650140b800ad58bf7a6a466; Linux 4.5.

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

Yes. Fixed in Linux 43d34110882b97ba1ec66cc8234b18983efb9abf, Linux 93ee345ba349922834e6a9d1dadabaedcc12dce6, Linux 925c18a7cff93d8a4320d652351294ff7d0ac93c, Linux 18a5a16940464b301ea91bf5da3a324aedb347b2, Linux 47abd8adddbc0aecb8f231269ef659148d5dabe4, Linux 031ae72825cef43e4650140b800ad58bf7a6a466. Upgrade Linux to 031ae72825cef43e4650140b800ad58bf7a6a466 or later.

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

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/43d34110882b97ba1ec66cc8234b18983efb9abf>
- patch: <https://git.kernel.org/stable/c/dcaf4e2216824839d26727a15b638c6a677bd9fc>
- patch: <https://git.kernel.org/stable/c/93ee345ba349922834e6a9d1dadabaedcc12dce6>
- patch: <https://git.kernel.org/stable/c/bda4d84ac0d5421b346faee720011f58bdb99673>
- patch: <https://git.kernel.org/stable/c/925c18a7cff93d8a4320d652351294ff7d0ac93c>
- patch: <https://git.kernel.org/stable/c/18a5a16940464b301ea91bf5da3a324aedb347b2>
- patch: <https://git.kernel.org/stable/c/47abd8adddbc0aecb8f231269ef659148d5dabe4>
- patch: <https://git.kernel.org/stable/c/031ae72825cef43e4650140b800ad58bf7a6a466>
- 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-46782>

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