# CVE-2023-53433: net: add vlan\_get\_protocol\_and\_depth() helper

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-18T16:04:13.126Z
- **Modified:** 2026-06-17T06:45:19.210Z

## Who should check

- Anyone running Linux \>= 30d015f5ecd9ce5706ad18a4a0649f364e3e6f7b, \< 4188c5269475ac59d467b5814c5df02756f6d907; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 9dd9ffe118415b4ac1cebac43443000072bc8f46; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 55caf900e13cd04466def08173a14b41d18c19c3; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 4063384ef762cc5946fc7a3f89879e76c6ec51e2; bb7b26278b384dad1423101dc69157b63968ed1c; a890a3d3115da196ff25599fe900f34016a4ef49; 502bbb8480c38ae6caa4f890b98db3b2a4ae919a; d4d0e6c07bcd17d704afe64e10382ffc5d342765; …
- Anyone running Linux 5.8

## Description

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

net: add vlan\_get\_protocol\_and\_depth() helper

Before blamed commit, pskb\_may\_pull() was used instead
of skb\_header\_pointer() in \_\_vlan\_get\_protocol() and friends.

Few callers depended on skb-\>head being populated with MAC header,
syzbot caught one of them (skb\_mac\_gso\_segment())

Add vlan\_get\_protocol\_and\_depth() to make the intent clearer
and use it where sensible.

This is a more generic fix than commit e9d3f80935b6
("net/af\_packet: make sure to pull mac header") which was
dealing with a similar issue.

kernel BUG at include/linux/skbuff.h:2655 !
invalid opcode: 0000 \[\#1\] SMP KASAN
CPU: 0 PID: 1441 Comm: syz-executor199 Not tainted 6.1.24-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:\_\_skb\_pull include/linux/skbuff.h:2655 \[inline\]
RIP: 0010:skb\_mac\_gso\_segment+0x68f/0x6a0 net/core/gro.c:136
Code: fd 48 8b 5c 24 10 44 89 6b 70 48 c7 c7 c0 ae 0d 86 44 89 e6 e8 a1 91 d0 00 48 c7 c7 00 af 0d 86 48 89 de 31 d2 e8 d1 4a e9 ff \<0f\> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41
RSP: 0018:ffffc90001bd7520 EFLAGS: 00010286
RAX: ffffffff8469736a RBX: ffff88810f31dac0 RCX: ffff888115a18b00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001bd75e8 R08: ffffffff84697183 R09: fffff5200037adf9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000012
R13: 000000000000fee5 R14: 0000000000005865 R15: 000000000000fed7
FS: 000055555633f300(0000) GS:ffff8881f6a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 0000000116fea000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
\[\<ffffffff847018dd\>\] \_\_skb\_gso\_segment+0x32d/0x4c0 net/core/dev.c:3419
\[\<ffffffff8470398a\>\] skb\_gso\_segment include/linux/netdevice.h:4819 \[inline\]
\[\<ffffffff8470398a\>\] validate\_xmit\_skb+0x3aa/0xee0 net/core/dev.c:3725
\[\<ffffffff84707042\>\] \_\_dev\_queue\_xmit+0x1332/0x3300 net/core/dev.c:4313
\[\<ffffffff851a9ec7\>\] dev\_queue\_xmit+0x17/0x20 include/linux/netdevice.h:3029
\[\<ffffffff851b4a82\>\] packet\_snd net/packet/af\_packet.c:3111 \[inline\]
\[\<ffffffff851b4a82\>\] packet\_sendmsg+0x49d2/0x6470 net/packet/af\_packet.c:3142
\[\<ffffffff84669a12\>\] sock\_sendmsg\_nosec net/socket.c:716 \[inline\]
\[\<ffffffff84669a12\>\] sock\_sendmsg net/socket.c:736 \[inline\]
\[\<ffffffff84669a12\>\] \_\_sys\_sendto+0x472/0x5f0 net/socket.c:2139
\[\<ffffffff84669c75\>\] \_\_do\_sys\_sendto net/socket.c:2151 \[inline\]
\[\<ffffffff84669c75\>\] \_\_se\_sys\_sendto net/socket.c:2147 \[inline\]
\[\<ffffffff84669c75\>\] \_\_x64\_sys\_sendto+0xe5/0x100 net/socket.c:2147
\[\<ffffffff8551d40f\>\] do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
\[\<ffffffff8551d40f\>\] do\_syscall\_64+0x2f/0x50 arch/x86/entry/common.c:80
\[\<ffffffff85600087\>\] entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

## Affected and fixed versions

- Linux: \>= 30d015f5ecd9ce5706ad18a4a0649f364e3e6f7b, \< 4188c5269475ac59d467b5814c5df02756f6d907; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 9dd9ffe118415b4ac1cebac43443000072bc8f46; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 55caf900e13cd04466def08173a14b41d18c19c3; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 4063384ef762cc5946fc7a3f89879e76c6ec51e2; bb7b26278b384dad1423101dc69157b63968ed1c; a890a3d3115da196ff25599fe900f34016a4ef49; 502bbb8480c38ae6caa4f890b98db3b2a4ae919a; d4d0e6c07bcd17d704afe64e10382ffc5d342765; … (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53433.md
Affected: Linux >= 30d015f5ecd9ce5706ad18a4a0649f364e3e6f7b, < 4188c5269475ac59d467b5814c5df02756f6d907; >= 469aceddfa3ed16e17ee30533fae45e90f62efd8, < 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122; >= 469aceddfa3ed16e17ee30533fae45e90f62efd8, < 9dd9ffe118415b4ac1cebac43443000072bc8f46; >= 469aceddfa3ed16e17ee305…
Fixed in: Linux 4188c5269475ac59d467b5814c5df02756f6d907, Linux 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122, Linux 9dd9ffe118415b4ac1cebac43443000072bc8f46, Linux 55caf900e13cd04466def08173a14b41d18c19c3, Linux 15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d, Linux 4063384ef762cc5946fc7a3f89879e76c6ec51e2

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

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

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

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 30d015f5ecd9ce5706ad18a4a0649f364e3e6f7b, \< 4188c5269475ac59d467b5814c5df02756f6d907; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 9dd9ffe118415b4ac1cebac43443000072bc8f46; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 55caf900e13cd04466def08173a14b41d18c19c3; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d; \>= 469aceddfa3ed16e17ee30533fae45e90f62efd8, \< 4063384ef762cc5946fc7a3f89879e76c6ec51e2; bb7b26278b384dad1423101dc69157b63968ed1c; a890a3d3115da196ff25599fe900f34016a4ef49; 502bbb8480c38ae6caa4f890b98db3b2a4ae919a; d4d0e6c07bcd17d704afe64e10382ffc5d342765; …; Linux 5.8.

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

Yes. Fixed in Linux 4188c5269475ac59d467b5814c5df02756f6d907, Linux 34a5ee69ec6273f0aee79e7ce4d14afc83ca8122, Linux 9dd9ffe118415b4ac1cebac43443000072bc8f46, Linux 55caf900e13cd04466def08173a14b41d18c19c3, Linux 15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d, Linux 4063384ef762cc5946fc7a3f89879e76c6ec51e2. No fix listed yet: follow the vendor advisory.

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

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/4188c5269475ac59d467b5814c5df02756f6d907>
- patch: <https://git.kernel.org/stable/c/34a5ee69ec6273f0aee79e7ce4d14afc83ca8122>
- patch: <https://git.kernel.org/stable/c/9dd9ffe118415b4ac1cebac43443000072bc8f46>
- patch: <https://git.kernel.org/stable/c/55caf900e13cd04466def08173a14b41d18c19c3>
- patch: <https://git.kernel.org/stable/c/15eaeb8941f12fcc2713c4bf6eb8f76a37854b4d>
- patch: <https://git.kernel.org/stable/c/4063384ef762cc5946fc7a3f89879e76c6ec51e2>

## 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-53433>

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