# CVE-2023-52796: ipvlan: add ipvlan\_route\_v6\_outbound() helper

> 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 18, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2024-05-21T15:31:10.290Z
- **Modified:** 2026-06-17T06:43:35.960Z

## Who should check

- Anyone running Linux \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4f7f850611aa27aaaf1bf5687702ad2240ae442a; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4d2d30f0792b47908af64c4d02ed1ee25ff50542; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 43b781e7cb5cd0b435de276111953bf2bacd1f02; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 732a67ca436887b594ebc43bb5a04ffb0971a760; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 8872dc638c24bb774cd2224a69d72a7f661a4d56; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 03cddc4df8c6be47fd27c8f8b87e5f9a989e1458; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 18f039428c7df183b09c69ebf10ffd4e521035d2
- Anyone running Linux 3.19

## Description

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

ipvlan: add ipvlan\_route\_v6\_outbound() helper

Inspired by syzbot reports using a stack of multiple ipvlan devices.

Reduce stack size needed in ipvlan\_process\_v6\_outbound() by moving
the flowi6 struct used for the route lookup in an non inlined
helper. ipvlan\_route\_v6\_outbound() needs 120 bytes on the stack,
immediately reclaimed.

Also make sure ipvlan\_process\_v4\_outbound() is not inlined.

We might also have to lower MAX\_NEST\_DEV, because only syzbot uses
setups with more than four stacked devices.

BUG: TASK stack guard page was hit at ffffc9000e803ff8 (stack is ffffc9000e804000..ffffc9000e808000)
stack guard page: 0000 \[\#1\] SMP KASAN
CPU: 0 PID: 13442 Comm: syz-executor.4 Not tainted 6.1.52-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:kasan\_check\_range+0x4/0x2a0 mm/kasan/generic.c:188
Code: 48 01 c6 48 89 c7 e8 db 4e c1 03 31 c0 5d c3 cc 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc 00 00 cc cc 00 00 cc cc 55 48 89 e5 \<41\> 57 41 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 a4 01 00 00 48 89
RSP: 0018:ffffc9000e804000 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817e5bf2
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff887c6568
RBP: ffffc9000e804000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92001d0080c
R13: dffffc0000000000 R14: ffffffff87e6b100 R15: 0000000000000000
FS: 00007fd0c55826c0(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000e803ff8 CR3: 0000000170ef7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<\#DF\>
\</\#DF\>
\<TASK\>
\[\<ffffffff81f281d1\>\] \_\_kasan\_check\_read+0x11/0x20 mm/kasan/shadow.c:31
\[\<ffffffff817e5bf2\>\] instrument\_atomic\_read include/linux/instrumented.h:72 \[inline\]
\[\<ffffffff817e5bf2\>\] \_test\_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 \[inline\]
\[\<ffffffff817e5bf2\>\] cpumask\_test\_cpu include/linux/cpumask.h:506 \[inline\]
\[\<ffffffff817e5bf2\>\] cpu\_online include/linux/cpumask.h:1092 \[inline\]
\[\<ffffffff817e5bf2\>\] trace\_lock\_acquire include/trace/events/lock.h:24 \[inline\]
\[\<ffffffff817e5bf2\>\] lock\_acquire+0xe2/0x590 kernel/locking/lockdep.c:5632
\[\<ffffffff8563221e\>\] rcu\_lock\_acquire+0x2e/0x40 include/linux/rcupdate.h:306
\[\<ffffffff8561464d\>\] rcu\_read\_lock include/linux/rcupdate.h:747 \[inline\]
\[\<ffffffff8561464d\>\] ip6\_pol\_route+0x15d/0x1440 net/ipv6/route.c:2221
\[\<ffffffff85618120\>\] ip6\_pol\_route\_output+0x50/0x80 net/ipv6/route.c:2606
\[\<ffffffff856f65b5\>\] pol\_lookup\_func include/net/ip6\_fib.h:584 \[inline\]
\[\<ffffffff856f65b5\>\] fib6\_rule\_lookup+0x265/0x620 net/ipv6/fib6\_rules.c:116
\[\<ffffffff85618009\>\] ip6\_route\_output\_flags\_noref+0x2d9/0x3a0 net/ipv6/route.c:2638
\[\<ffffffff8561821a\>\] ip6\_route\_output\_flags+0xca/0x340 net/ipv6/route.c:2651
\[\<ffffffff838bd5a3\>\] ip6\_route\_output include/net/ip6\_route.h:100 \[inline\]
\[\<ffffffff838bd5a3\>\] ipvlan\_process\_v6\_outbound drivers/net/ipvlan/ipvlan\_core.c:473 \[inline\]
\[\<ffffffff838bd5a3\>\] ipvlan\_process\_outbound drivers/net/ipvlan/ipvlan\_core.c:529 \[inline\]
\[\<ffffffff838bd5a3\>\] ipvlan\_xmit\_mode\_l3 drivers/net/ipvlan/ipvlan\_core.c:602 \[inline\]
\[\<ffffffff838bd5a3\>\] ipvlan\_queue\_xmit+0xc33/0x1be0 drivers/net/ipvlan/ipvlan\_core.c:677
\[\<ffffffff838c2909\>\] ipvlan\_start\_xmit+0x49/0x100 drivers/net/ipvlan/ipvlan\_main.c:229
\[\<ffffffff84d03900\>\] netdev\_start\_xmit include/linux/netdevice.h:4966 \[inline\]
\[\<ffffffff84d03900\>\] xmit\_one net/core/dev.c:3644 \[inline\]
\[\<ffffffff84d03900\>\] dev\_hard\_start\_xmit+0x320/0x980 net/core/dev.c:3660
\[\<ffffffff84d080e2\>\] \_\_dev\_queue\_xmit+0x16b2/0x3370 net/core/dev.c:4324
\[\<ffffffff855ce4cd\>\] dev\_queue\_xmit include/linux/netdevice.h:3067 \[inline\]
\[\<ffffffff855ce4cd\>\] neigh\_hh\_output include/net/neighbour.h:529 \[inline\]
\[\<f
---truncated---

## Affected and fixed versions

- Linux: \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4f7f850611aa27aaaf1bf5687702ad2240ae442a; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4d2d30f0792b47908af64c4d02ed1ee25ff50542; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 43b781e7cb5cd0b435de276111953bf2bacd1f02; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 732a67ca436887b594ebc43bb5a04ffb0971a760; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 8872dc638c24bb774cd2224a69d72a7f661a4d56; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 03cddc4df8c6be47fd27c8f8b87e5f9a989e1458; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 18f039428c7df183b09c69ebf10ffd4e521035d2 (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 18f039428c7df183b09c69ebf10ffd4e521035d2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52796.md
Affected: Linux >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 4f7f850611aa27aaaf1bf5687702ad2240ae442a; >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 4d2d30f0792b47908af64c4d02ed1ee25ff50542; >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 43b781e7cb5cd0b435de276111953bf2bacd1f02; >= 2ad7bf3638411cb547f2823…
Fixed in: Linux 4f7f850611aa27aaaf1bf5687702ad2240ae442a, Linux 4d2d30f0792b47908af64c4d02ed1ee25ff50542, Linux 43b781e7cb5cd0b435de276111953bf2bacd1f02, Linux 1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f, Linux 732a67ca436887b594ebc43bb5a04ffb0971a760, Linux 8872dc638c24bb774cd2224a69d72a7f661a4d56, Linux 03cdd…

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-2023-52796 being exploited?

There is no confirmed exploitation: CVE-2023-52796 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-28).

### How serious is CVE-2023-52796?

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

### Which versions are affected by CVE-2023-52796?

Linux \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4f7f850611aa27aaaf1bf5687702ad2240ae442a; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4d2d30f0792b47908af64c4d02ed1ee25ff50542; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 43b781e7cb5cd0b435de276111953bf2bacd1f02; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 732a67ca436887b594ebc43bb5a04ffb0971a760; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 8872dc638c24bb774cd2224a69d72a7f661a4d56; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 03cddc4df8c6be47fd27c8f8b87e5f9a989e1458; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 18f039428c7df183b09c69ebf10ffd4e521035d2; Linux 3.19.

### Is there a fix for CVE-2023-52796?

Yes. Fixed in Linux 4f7f850611aa27aaaf1bf5687702ad2240ae442a, Linux 4d2d30f0792b47908af64c4d02ed1ee25ff50542, Linux 43b781e7cb5cd0b435de276111953bf2bacd1f02, Linux 1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f, Linux 732a67ca436887b594ebc43bb5a04ffb0971a760, Linux 8872dc638c24bb774cd2224a69d72a7f661a4d56, Linux 03cddc4df8c6be47fd27c8f8b87e5f9a989e1458, Linux 18f039428c7df183b09c69ebf10ffd4e521035d2. Upgrade Linux to 18f039428c7df183b09c69ebf10ffd4e521035d2 or later.

### How do I check if I'm affected by CVE-2023-52796?

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/4f7f850611aa27aaaf1bf5687702ad2240ae442a>
- patch: <https://git.kernel.org/stable/c/4d2d30f0792b47908af64c4d02ed1ee25ff50542>
- patch: <https://git.kernel.org/stable/c/43b781e7cb5cd0b435de276111953bf2bacd1f02>
- patch: <https://git.kernel.org/stable/c/1f64cad3ac38ac5978b53c40e6c5e6fd3477c68f>
- patch: <https://git.kernel.org/stable/c/732a67ca436887b594ebc43bb5a04ffb0971a760>
- patch: <https://git.kernel.org/stable/c/8872dc638c24bb774cd2224a69d72a7f661a4d56>
- patch: <https://git.kernel.org/stable/c/03cddc4df8c6be47fd27c8f8b87e5f9a989e1458>
- patch: <https://git.kernel.org/stable/c/18f039428c7df183b09c69ebf10ffd4e521035d2>

## 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-2023-52796>

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