U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2026-52999

Change History

New CVE Received from kernel.org 6/24/2026 1:17:10 PM

Action Type Old Value New Value
Added Description

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

netfilter: nfnetlink_osf: fix out-of-bounds read on option matching

In nf_osf_match(), the nf_osf_hdr_ctx structure is initialized once
and passed by reference to nf_osf_match_one() for each fingerprint
checked. During TCP option parsing, nf_osf_match_one() advances the
shared ctx->optp pointer.

If a fingerprint perfectly matches, the function returns early without
restoring ctx->optp to its initial state. If the user has configured
NF_OSF_LOGLEVEL_ALL, the loop continues to the next fingerprint.
However, because ctx->optp was not restored, the next call to
nf_osf_match_one() starts parsing from the end of the options buffer.
This causes subsequent matches to read garbage data and fail
immediately, making it impossible to log more than one match or logging
incorrect matches.

Instead of using a shared ctx->optp pointer, pass the context as a
constant pointer and use a local pointer (optp) for TCP option
traversal. This makes nf_osf_match_one() strictly stateless from the
caller's perspective, ensuring every fingerprint check starts at the
correct option offset.
Added Reference

                  
                
              
https://git.kernel.org/stable/c/0145548346c4a30981a870a8ca00eac46ba27e85
Added Reference

                  
                
              
https://git.kernel.org/stable/c/1c136f2c44a5913646bac85303612fd0825197a0
Added Reference

                  
                
              
https://git.kernel.org/stable/c/1e19a07291bb8682c14c39a64725a3ae54ab8ccc
Added Reference

                  
                
              
https://git.kernel.org/stable/c/21883587593d7c8bb519a79460a0b5bc5ffbdabd
Added Reference

                  
                
              
https://git.kernel.org/stable/c/32e50f92c7cf3f4eba29622179a5fcdc2aebab41
Added Reference

                  
                
              
https://git.kernel.org/stable/c/70a3f31d25cf2ec9d4ddfa408120171ead955623
Added Reference

                  
                
              
https://git.kernel.org/stable/c/edb78a142d2e5948e63647c0646aa7e7886935f0
Added Reference

                  
                
              
https://git.kernel.org/stable/c/f5ca450087c3baf3651055e7a6de92600f827af3
Added Affected

                  
                
              
[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/netfilter/nfnetlink_osf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"0145548346c4a30981a870a8ca00eac46ba27e85","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"1c136f2c44a5913646bac85303612fd0825197a0","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"1e19a07291bb8682c14c39a64725a3ae54ab8ccc","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"32e50f92c7cf3f4eba29622179a5fcdc2aebab41","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"70a3f31d25cf2ec9d4ddfa408120171ead955623","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"21883587593d7c8bb519a79460a0b5bc5ffbdabd","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"edb78a142d2e5948e63647c0646aa7e7886935f0","versionType":"git","status":"affected"},{"version":"1a6a0951fc009f6d9fe8ebea2d2417d80d54097b","lessThan":"f5ca450087c3baf3651055e7a6de92600f827af3","versionType":"git","status":"affected"},{"version":"0c1054e0e5fdef2369fb089e94def978bd209e1f","versionType":"git","status":"affected"},{"version":"8316b60582facd4068fb0916c4db2418c21b7174","versionType":"git","status":"affected"},{"version":"4.19.26","lessThan":"4.20","versionType":"semver","status":"affected"},{"version":"4.20.13","lessThan":"4.21","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/netfilter/nfnetlink_osf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","versionType":"semver","status":"unaffected"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.141","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.91","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.33","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","versionType":"semver","status":"unaffected"},{"version":"7.1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]