SecurityContext

CVE-2026-52986: Linux kernel netfilter - Input Validation

  • Cve: CVE-2026-52986
  • Name: Linux kernel netfilter - Input Validation
  • Description: In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: don't use simple_strtoul Replace unsafe port parsing in epaddr_len(), ct_sip_parse_header_uri(), and ct_sip_parse_request() with a new sip_parse_port() helper that validates each digit against the buffer limit, eliminating the use of simple_strtoul() which assumes NUL-terminated strings. The previous code dereferenced pointers without bounds checks after sip_parse_addr() and relied on simple_strtoul() on non-NUL-terminated skb data. A port that reaches the buffer limit without a trailing character is also rejected as malformed. Also get rid of all simple_strtoul() usage in conntrack, prefer a stricter version instead. There are intentional changes: - Bail out if number is > UINT_MAX and indicate a failure, same for too long sequences. While we do accept 05535 as port 5535, we will not accept e.g. 'sip:10.0.0.1:005060'. While its syntactically valid under RFC 3261, we should restrict this to not waste cycles when presented with malformed packets with 64k '0' characters. - Force base 10 in ct_sip_parse_numerical_param(). This is used to fetch 'expire=' and 'rports='; both are expected to use base-10. - In nf_nat_sip.c, only accept the parsed value if its within the 1k-64k range. - epaddr_len now returns 0 if the port is invalid, as it already does for invalid ip addresses. This is intentional. nf_conntrack_sip performs lots of guesswork to find the right parts of the message to parse. Being stricter could break existing setups. Connection tracking helpers are designed to allow traffic to pass, not to block it. Based on an earlier patch from Jenny Guanni Qu <[email protected]>.
  • Impact: Attackers can send malformed SIP packets causing incorrect connection tracking, potentially disrupting network traffic or bypassing security measures.
  • Remediation: Update to the latest Linux kernel version containing the patch that replaces simple_strtoul with stricter port parsing.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00634
  • Epss percentile: 0.51139
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-06-24T17:17:09Z
  • Age in days: 153
  • Modified at: 2026-11-10T13:19:21Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-52986
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/523762e3b6933fff81f01dfa3c60c0774044cdabPatch
https://git.kernel.org/stable/c/7df9863bf538a626e8a684e59cb2c43eac0ef3c8Patch
https://git.kernel.org/stable/c/8cd0358379570003659186706e077929d6930c40Patch
https://git.kernel.org/stable/c/8cf6809cddcbe301aedfc6b51bcd4944d45795f6Patch
https://git.kernel.org/stable/c/9c6afcb1c3cbb2c0da65b8515ac14d7273872f84Patch
https://git.kernel.org/stable/c/9f69c323ae0ab517e595c2cc74e0ae0d9d085611Patch
https://git.kernel.org/stable/c/b3264c977e79d8a25778d4fd11520f00fea1329cPatch
https://git.kernel.org/stable/c/ea2ecd29b8f4433e52607192ca91084f95787ca0Patch
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 7.1 rc1; >= 6.19, < 7.0.10; >= 6.13, < 6.18.33; >= 6.7, < 6.12.91; >= 6.2, < 6.6.141; >= 5.16, < 6.1.175; >= 5.11, < 5.15.209; >= 2.6.26, < 5.10.258nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports