# CVE-2026-74478: um: vector: fix use-after-free in vector_mmsg_rx()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-08-15T12:27:12.549Z
- Modified: 2026-08-19T17:21:04.947Z
- Assigned by: Linux

## Description

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

um: vector: fix use-after-free in vector_mmsg_rx()

When vector_mmsg_rx() discards a packet whose overlay header fails
verify_header(), it frees the skb and continues the loop:

	if (header_check < 0) {
		dev_kfree_skb_irq(skb);
		vp->estats.rx_encaps_errors++;
		continue;
	}

The normal and short-packet paths fall through to the bottom of the
loop body, which clears the consumed slot and advances the cursors:

	(*skbuff_vector) = NULL;
	mmsg_vector++;
	skbuff_vector++;

The verify_header() < 0 path skips that via continue, so the freed skb
is left in skbuff_vector[] and the cursors do not advance. The next
iteration reads the same slot, gets the freed skb, and frees it again,
producing a refcount underflow / use-after-free in the RX path.

Discard the slot the same way the other paths do before continuing.

Only transports whose verify_header() can return negative are affected:
GRE and L2TPv3 do so on a cookie/session-id mismatch (raw/tap do not),
so any peer on such a transport can trigger it without authentication.

(As written by CVE List.)

## Affected

- Linux Linux: from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 967c779c9853d2a1cc9cd8e61d300250c348f3d9; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before a7bc015bb798c525e7a82dd14225c6aeb994274b; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 7dc9781e320d664c9bdd50003c9acfddf363d1e1; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 4b9601595e8b6b5d18878cac0aeabc687d241111; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 67d58ab4f2ccf7145f3da07e025735a09c79de1b; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 180ff4c81faf01ec4e06082c9daa7c40518ead89; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before 804b681002ead233abf49a3efd681f5468a835f9; from 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb before af421e9aed3920c7ac88c24daa48606c7112feca; 4.17 (not affected: before 4.17; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/967c779c9853d2a1cc9cd8e61d300250c348f3d9>
- <https://git.kernel.org/stable/c/a7bc015bb798c525e7a82dd14225c6aeb994274b>
- <https://git.kernel.org/stable/c/7dc9781e320d664c9bdd50003c9acfddf363d1e1>
- <https://git.kernel.org/stable/c/4b9601595e8b6b5d18878cac0aeabc687d241111>
- <https://git.kernel.org/stable/c/67d58ab4f2ccf7145f3da07e025735a09c79de1b>
- <https://git.kernel.org/stable/c/180ff4c81faf01ec4e06082c9daa7c40518ead89>
- <https://git.kernel.org/stable/c/804b681002ead233abf49a3efd681f5468a835f9>
- <https://git.kernel.org/stable/c/af421e9aed3920c7ac88c24daa48606c7112feca>

## Sources

- CVE List: [CVE-2026-74478](https://www.cve.org/CVERecord?id=CVE-2026-74478), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-74478](https://nvd.nist.gov/vuln/detail/CVE-2026-74478), Public domain, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-74478 · Whole record: https://cve.day/CVE-2026-74478.json · Rebuilt by cve.day 2026-11-25T22:59:33.228Z
