# CVE-2025-22103: net: fix NULL pointer dereference in l3mdev\_l3\_rcv

> 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, NVD) `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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-04-16T14:12:52.164Z
- **Modified:** 2026-09-14T12:17:35.353Z

## Who should check

- Anyone running Linux \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 1da52878f7fb74ace304f74325bb89e3e5546b55; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< d97d6b1bd2b7f2a188d261d44c4519a13b8c406a; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 52b44d8c653459c658b733d13658afdde45f6836; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 59599bce44af3df7a215ebc81cb166426e1c9204; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< f9dff65140efc289f01bcf39c3ca66a8806b6132; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 0032c99e83b9ce6d5995d65900aa4b6ffb501cce
- Anyone running Linux 5.1

## Description

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

net: fix NULL pointer dereference in l3mdev\_l3\_rcv

When delete l3s ipvlan:

    ip link del link eth0 ipvlan1 type ipvlan mode l3s

This may cause a null pointer dereference:

    Call trace:
     ip\_rcv\_finish+0x48/0xd0
     ip\_rcv+0x5c/0x100
     \_\_netif\_receive\_skb\_one\_core+0x64/0xb0
     \_\_netif\_receive\_skb+0x20/0x80
     process\_backlog+0xb4/0x204
     napi\_poll+0xe8/0x294
     net\_rx\_action+0xd8/0x22c
     \_\_do\_softirq+0x12c/0x354

This is because l3mdev\_l3\_rcv() visit dev-\>l3mdev\_ops after
ipvlan\_l3s\_unregister() assign the dev-\>l3mdev\_ops to NULL. The process
like this:

    (CPU1)                     \| (CPU2)
    l3mdev\_l3\_rcv()            \|
      check dev-\>priv\_flags:   \|
        master = skb-\>dev;     \|
                               \|
                               \| ipvlan\_l3s\_unregister()
                               \|   set dev-\>priv\_flags
                               \|   dev-\>l3mdev\_ops = NULL;
                               \|
      visit master-\>l3mdev\_ops \|

To avoid this by do not set dev-\>l3mdev\_ops when unregister l3s ipvlan.

## Affected and fixed versions

- Linux: \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 1da52878f7fb74ace304f74325bb89e3e5546b55; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< d97d6b1bd2b7f2a188d261d44c4519a13b8c406a; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 52b44d8c653459c658b733d13658afdde45f6836; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 59599bce44af3df7a215ebc81cb166426e1c9204; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< f9dff65140efc289f01bcf39c3ca66a8806b6132; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 0032c99e83b9ce6d5995d65900aa4b6ffb501cce (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 0032c99e83b9ce6d5995d65900aa4b6ffb501cce or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-22103.md
Affected: Linux >= c675e06a98a474f7ad0af32ce467613da818da52, < 1da52878f7fb74ace304f74325bb89e3e5546b55; >= c675e06a98a474f7ad0af32ce467613da818da52, < d97d6b1bd2b7f2a188d261d44c4519a13b8c406a; >= c675e06a98a474f7ad0af32ce467613da818da52, < 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862; >= c675e06a98a474f7ad0af32…
Fixed in: Linux 1da52878f7fb74ace304f74325bb89e3e5546b55, Linux 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862, Linux 52b44d8c653459c658b733d13658afdde45f6836, Linux 59599bce44af3df7a215ebc81cb166426e1c9204, Linux 0032c99e83b9ce6d5995d65900aa4b6ffb501cce

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-2025-22103 being exploited?

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

### How serious is CVE-2025-22103?

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

### Which versions are affected by CVE-2025-22103?

Linux \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 1da52878f7fb74ace304f74325bb89e3e5546b55; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< d97d6b1bd2b7f2a188d261d44c4519a13b8c406a; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 52b44d8c653459c658b733d13658afdde45f6836; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 59599bce44af3df7a215ebc81cb166426e1c9204; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< f9dff65140efc289f01bcf39c3ca66a8806b6132; \>= c675e06a98a474f7ad0af32ce467613da818da52, \< 0032c99e83b9ce6d5995d65900aa4b6ffb501cce; Linux 5.1.

### Is there a fix for CVE-2025-22103?

Yes. Fixed in Linux 1da52878f7fb74ace304f74325bb89e3e5546b55, Linux 8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862, Linux 52b44d8c653459c658b733d13658afdde45f6836, Linux 59599bce44af3df7a215ebc81cb166426e1c9204, Linux 0032c99e83b9ce6d5995d65900aa4b6ffb501cce. Upgrade Linux to 0032c99e83b9ce6d5995d65900aa4b6ffb501cce or later.

### How do I check if I'm affected by CVE-2025-22103?

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/59599bce44af3df7a215ebc81cb166426e1c9204>
- patch: <https://git.kernel.org/stable/c/f9dff65140efc289f01bcf39c3ca66a8806b6132>
- patch: <https://git.kernel.org/stable/c/0032c99e83b9ce6d5995d65900aa4b6ffb501cce>
- other: <https://git.kernel.org/stable/c/1da52878f7fb74ace304f74325bb89e3e5546b55>
- other: <https://git.kernel.org/stable/c/d97d6b1bd2b7f2a188d261d44c4519a13b8c406a>
- other: <https://git.kernel.org/stable/c/8da4d7f9141e8dbd3ece2f0e6930a0ea8812c862>
- other: <https://git.kernel.org/stable/c/52b44d8c653459c658b733d13658afdde45f6836>

## 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-2025-22103>

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