netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB read (Linux Linux)

CVE-2026-80603
CRITICAL 9.1

At a glance

Source
NVD
EPSS
EPSS 0.60 % · percentile 48 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB read parse_dcc() treats data_end as an inclusive end pointer, but its only caller passes data_limit = ib_ptr + datalen, which points one past the last valid byte. The newline search loop iterates while tmp <= data_end, so when no newline is present, *tmp is read at tmp == data_end, one byte beyond the region filled by skb_header_pointer(). irc_buffer is kmalloc'd as MAX_SEARCH_SIZE + 1 bytes and datalen is capped at MAX_SEARCH_SIZE, so the stray read does not fault. The byte is uninitialized or stale; if it contains an ASCII digit, simple_strtoul will consume it and produce a wrong DCC IP or port in the conntrack expectation. The extra allocation byte is also a fragile guard: if the cap or allocation size changes, this becomes a real out-of-bounds read. Change the loop and its post-loop check to use strict less-than, consistent with the caller's exclusive-end convention. Update the function comment accordingly.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < abb8c32b88ea3f46beb68c34fe9a3ac8ed664e7e ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 437e0a3854b3a44ec15afa9ab88ec215adf3a2fd ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 910c33e4a8c046c3cc1fa5a465a4d41a1bb398f1 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2b70f61f569bb29acb380e6f616a1bbdee15668f ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2393f0bd7a467ad475598f3a5b9de27ca36e3037 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < aff589556ed772cb1c0c2d7b4d91ec45c0c39416
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD