# CVE-2022-49092: net: ipv4: fix route with nexthop object delete warning

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.31% (percentile 16, 2026-11-26)
- **Published:** 2025-02-26T01:54:47.172Z
- **Modified:** 2026-10-15T22:17:22.957Z

## Who should check

- Anyone running Linux \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f5064531c23ad646da7be8b938292b00a7e61438; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 63ea57478aaa3e06a597081a0f537318fc04e49f; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 907c97986d6fa77318d17659dd76c94b65dd27c5; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< dcd689f9e2640c992f94eae9955b106f71c6825d; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f8db5743d09523c0bb35f16e13691e3b7eb5dba0; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 6bf92d70e690b7ff12b24f4bfff5e5434d019b82
- Anyone running Linux 5.3

## Description

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

net: ipv4: fix route with nexthop object delete warning

FRR folks have hit a kernel warning\[1\] while deleting routes\[2\] which is
caused by trying to delete a route pointing to a nexthop id without
specifying nhid but matching on an interface. That is, a route is found
but we hit a warning while matching it. The warning is from
fib\_info\_nh() in include/net/nexthop.h because we run it on a fib\_info
with nexthop object. The call chain is:
 inet\_rtm\_delroute -\> fib\_table\_delete -\> fib\_nh\_match (called with a
nexthop fib\_info and also with fc\_oif set thus calling fib\_info\_nh on
the fib\_info and triggering the warning). The fix is to not do any
matching in that branch if the fi has a nexthop object because those are
managed separately. I.e. we should match when deleting without nh spec and
should fail when deleting a nexthop route with old-style nh spec because
nexthop objects are managed separately, e.g.:
 $ ip r show 1.2.3.4/32
 1.2.3.4 nhid 12 via 192.168.11.2 dev dummy0

 $ ip r del 1.2.3.4/32
 $ ip r del 1.2.3.4/32 nhid 12
 \<both should work\>

 $ ip r del 1.2.3.4/32 dev dummy0
 \<should fail with ESRCH\>

\[1\]
 \[  523.462226\] ------------\[ cut here \]------------
 \[  523.462230\] WARNING: CPU: 14 PID: 22893 at include/net/nexthop.h:468 fib\_nh\_match+0x210/0x460
 \[  523.462236\] Modules linked in: dummy rpcsec\_gss\_krb5 xt\_socket nf\_socket\_ipv4 nf\_socket\_ipv6 ip6table\_raw iptable\_raw bpf\_preload xt\_statistic ip\_set ip\_vs\_sh ip\_vs\_wrr ip\_vs\_rr ip\_vs xt\_mark nf\_tables xt\_nat veth nf\_conntrack\_netlink nfnetlink xt\_addrtype br\_netfilter overlay dm\_crypt nfsv3 nfs fscache netfs vhost\_net vhost vhost\_iotlb tap tun xt\_CHECKSUM xt\_MASQUERADE xt\_conntrack 8021q garp mrp ipt\_REJECT nf\_reject\_ipv4 ip6table\_mangle ip6table\_nat iptable\_mangle iptable\_nat nf\_nat nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 iptable\_filter bridge stp llc rfcomm snd\_seq\_dummy snd\_hrtimer rpcrdma rdma\_cm iw\_cm ib\_cm ib\_core ip6table\_filter xt\_comment ip6\_tables vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) qrtr bnep binfmt\_misc xfs vfat fat squashfs loop nvidia\_drm(POE) nvidia\_modeset(POE) nvidia\_uvm(POE) nvidia(POE) intel\_rapl\_msr intel\_rapl\_common snd\_hda\_codec\_realtek snd\_hda\_codec\_generic ledtrig\_audio snd\_hda\_codec\_hdmi btusb btrtl iwlmvm uvcvideo btbcm snd\_hda\_intel edac\_mce\_amd
 \[  523.462274\]  videobuf2\_vmalloc videobuf2\_memops btintel snd\_intel\_dspcfg videobuf2\_v4l2 snd\_intel\_sdw\_acpi bluetooth snd\_usb\_audio snd\_hda\_codec mac80211 snd\_usbmidi\_lib joydev snd\_hda\_core videobuf2\_common kvm\_amd snd\_rawmidi snd\_hwdep snd\_seq videodev ccp snd\_seq\_device libarc4 ecdh\_generic mc snd\_pcm kvm iwlwifi snd\_timer drm\_kms\_helper snd cfg80211 cec soundcore irqbypass rapl wmi\_bmof i2c\_piix4 rfkill k10temp pcspkr acpi\_cpufreq nfsd auth\_rpcgss nfs\_acl lockd grace sunrpc drm zram ip\_tables crct10dif\_pclmul crc32\_pclmul crc32c\_intel ghash\_clmulni\_intel nvme sp5100\_tco r8169 nvme\_core wmi ipmi\_devintf ipmi\_msghandler fuse
 \[  523.462300\] CPU: 14 PID: 22893 Comm: ip Tainted: P           OE     5.16.18-200.fc35.x86\_64 \#1
 \[  523.462302\] Hardware name: Micro-Star International Co., Ltd. MS-7C37/MPG X570 GAMING EDGE WIFI (MS-7C37), BIOS 1.C0 10/29/2020
 \[  523.462303\] RIP: 0010:fib\_nh\_match+0x210/0x460
 \[  523.462304\] Code: 7c 24 20 48 8b b5 90 00 00 00 e8 bb ee f4 ff 48 8b 7c 24 20 41 89 c4 e8 ee eb f4 ff 45 85 e4 0f 85 2e fe ff ff e9 4c ff ff ff \<0f\> 0b e9 17 ff ff ff 3c 0a 0f 85 61 fe ff ff 48 8b b5 98 00 00 00
 \[  523.462306\] RSP: 0018:ffffaa53d4d87928 EFLAGS: 00010286
 \[  523.462307\] RAX: 0000000000000000 RBX: ffffaa53d4d87a90 RCX: ffffaa53d4d87bb0
 \[  523.462308\] RDX: ffff9e3d2ee6be80 RSI: ffffaa53d4d87a90 RDI: ffffffff920ed380
 \[  523.462309\] RBP: ffff9e3d2ee6be80 R08: 0000000000000064 R09: 0000000000000000
 \[  523.462310\] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000031
 \[  523.462310\] R13: 0000000000000020 R14: 0000000000000000 R15: ffff9e3d331054e0
 \[  523.462311\] FS:  00007f2455
---truncated---

## Affected and fixed versions

- Linux: \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f5064531c23ad646da7be8b938292b00a7e61438; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 63ea57478aaa3e06a597081a0f537318fc04e49f; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 907c97986d6fa77318d17659dd76c94b65dd27c5; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< dcd689f9e2640c992f94eae9955b106f71c6825d; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f8db5743d09523c0bb35f16e13691e3b7eb5dba0; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 6bf92d70e690b7ff12b24f4bfff5e5434d019b82 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 6bf92d70e690b7ff12b24f4bfff5e5434d019b82 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49092.md
Affected: Linux >= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, < f5064531c23ad646da7be8b938292b00a7e61438; >= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, < 63ea57478aaa3e06a597081a0f537318fc04e49f; >= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, < 907c97986d6fa77318d17659dd76c94b65dd27c5; >= 4c7e8084fd467ddb2b0e6c6…
Fixed in: Linux 63ea57478aaa3e06a597081a0f537318fc04e49f, Linux 907c97986d6fa77318d17659dd76c94b65dd27c5, Linux 6bf92d70e690b7ff12b24f4bfff5e5434d019b82

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-2022-49092 being exploited?

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

### How serious is CVE-2022-49092?

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

### Which versions are affected by CVE-2022-49092?

Linux \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f5064531c23ad646da7be8b938292b00a7e61438; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 63ea57478aaa3e06a597081a0f537318fc04e49f; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 907c97986d6fa77318d17659dd76c94b65dd27c5; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< dcd689f9e2640c992f94eae9955b106f71c6825d; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< f8db5743d09523c0bb35f16e13691e3b7eb5dba0; \>= 4c7e8084fd467ddb2b0e6c6011f9c1064afb7e56, \< 6bf92d70e690b7ff12b24f4bfff5e5434d019b82; Linux 5.3.

### Is there a fix for CVE-2022-49092?

Yes. Fixed in Linux 63ea57478aaa3e06a597081a0f537318fc04e49f, Linux 907c97986d6fa77318d17659dd76c94b65dd27c5, Linux 6bf92d70e690b7ff12b24f4bfff5e5434d019b82. Upgrade Linux to 6bf92d70e690b7ff12b24f4bfff5e5434d019b82 or later.

### How do I check if I'm affected by CVE-2022-49092?

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/f5064531c23ad646da7be8b938292b00a7e61438>
- patch: <https://git.kernel.org/stable/c/63ea57478aaa3e06a597081a0f537318fc04e49f>
- patch: <https://git.kernel.org/stable/c/907c97986d6fa77318d17659dd76c94b65dd27c5>
- patch: <https://git.kernel.org/stable/c/dcd689f9e2640c992f94eae9955b106f71c6825d>
- patch: <https://git.kernel.org/stable/c/f8db5743d09523c0bb35f16e13691e3b7eb5dba0>
- patch: <https://git.kernel.org/stable/c/6bf92d70e690b7ff12b24f4bfff5e5434d019b82>

## 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-2022-49092>

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