VDB

CVE-2025-22103

CVE-2025-22103 PUBLISHED

net: fix NULL pointer dereference in l3mdev_l3_rcv

Reported by linux · Published April 16, 2025

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.

EPSS 0.21% · 10.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.46-66.121.amzn2023
LinuxLinuxf9dff65140efc289f01bcf39c3ca66a8806b6132, d97d6b1bd2b7f2a188d261d44c4519a13b8c406a, 5.1, 1da52878f7fb74ace304f74325bb89e3e5546b55

Risk scores

EPSS Score
0.21%
10.9th percentile

Affected products

VendorProductVersions
LinuxLinuxc675e06a98a474f7ad0af32ce467613da818da52, c675e06a98a474f7ad0af32ce467613da818da52, c675e06a98a474f7ad0af32ce467613da818da52
LinuxLinux5.1, 0, 5.10.270
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-tools0
LinuxLinux6.1.188, *, *
amazon:2023kernel-livepatch-6.12.46-66.1210
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
linuxlinux_kernel5.1, 5.1, 5.1
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra-common0

Timeline

  • Apr 16, 2025 CVE Published
  • Apr 17, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 25, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (286 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (279 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22103
vulnetix vdb fixes CVE-2025-22103

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22103/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›