CVE-2022-48687: ipv6: sr: fix out-of-bounds read when setting HMAC data.
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 076f2479fc5a15c4a970ca3b5e57d42ba09a31fa, 3df71e11a4773d775c3633c44319f7acdb89011c, 55195563ec29f80f984237b743de0e2b6ba4d093.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 076f2479fc5a15c4a970ca3b5e57d42ba09a31fa, 3df71e11a4773d775c3633c44319f7acdb89011c, 55195563ec29f80f984237b743de0e2b6ba4d093 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix out-of-bounds read when setting HMAC data. The SRv6 layer allows defining HMAC data that can later be used to sign IPv6 Segment Routing Headers. This configuration is realised via netlink through four attributes: SEG6_ATTR_HMACKEYID, SEG6_ATTR_SECRET, SEG6_ATTR_SECRETLEN and SEG6_ATTR_ALGID. Because the SECRETLEN attribute is decoupled from the actual length of the SECRET attribute, it is possible to provide invalid combinations (e.g., secret = "", secretlen = 64). This case is not checked in the code and with an appropriately crafted netlink message, an out-of-bounds read of up to 64 bytes (max secret length) can occur past the skb end pointer and into skb_shared_info: Breakpoint 1, seg6_genl_sethmac (skb=<optimized out>, info=<optimized out>) at net/ipv6/seg6.c:208 208 memcpy(hinfo->secret, secret, slen); (gdb) bt #0 seg6_genl_sethmac (skb=<optimized out>, info=<optimized out>) at net/ipv6/seg6.c:208 #1 0xffffffff81e012e9 in genl_family_rcv_msg_doit (skb=skb@entry=0xffff88800b1f9f00, nlh=nlh@entry=0xffff88800b1b7600, extack=extack@entry=0xffffc90000ba7af0, ops=ops@entry=0xffffc90000ba7a80, hdrlen=4, net=0xffffffff84237580 <init_net>, family=<optimized out>, family=<optimized out>) at net/netlink/genetlink.c:731 #2 0xffffffff81e01435 in genl_family_rcv_msg (extack=0xffffc90000ba7af0, nlh=0xffff88800b1b7600, skb=0xffff88800b1f9f00, family=0xffffffff82fef6c0 <seg6_genl_family>) at net/netlink/genetlink.c:775 #3 genl_rcv_msg (skb=0xffff88800b1f9f00, nlh=0xffff88800b1b7600, extack=0xffffc90000ba7af0) at net/netlink/genetlink.c:792 #4 0xffffffff81dfffc3 in netlink_rcv_skb (skb=skb@entry=0xffff88800b1f9f00, cb=cb@entry=0xffffffff81e01350 <genl_rcv_msg>) at net/netlink/af_netlink.c:2501 #5 0xffffffff81e00919 in genl_rcv (skb=0xffff88800b1f9f00) at net/netlink/genetlink.c:803 #6 0xffffffff81dff6ae in netlink_unicast_kernel (ssk=0xffff888010eec800, skb=0xffff88800b1f9f00, sk=0xffff888004aed000) at net/netlink/af_netlink.c:1319 #7 netlink_unicast (ssk=ssk@entry=0xffff888010eec800, skb=skb@entry=0xffff88800b1f9f00, portid=portid@entry=0, nonblock=<optimized out>) at net/netlink/af_netlink.c:1345 #8 0xffffffff81dff9a4 in netlink_sendmsg (sock=<optimized out>, msg=0xffffc90000ba7e48, len=<optimized out>) at net/netlink/af_netlink.c:1921 ... (gdb) p/x ((struct sk_buff *)0xffff88800b1f9f00)->head + ((struct sk_buff *)0xffff88800b1f9f00)->end $1 = 0xffff88800b1b76c0 (gdb) p/x secret $2 = 0xffff88800b1b76c0 (gdb) p slen $3 = 64 '@' The OOB data can then be read back from userspace by dumping HMAC state. This commit fixes this by ensuring SECRETLEN cannot exceed the actual length of SECRET.
- Published
- May 3, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- CWE-125
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.10affected
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before dc9dbd65c803af1607484fed5da50d41dc8dd864affected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before f684c16971ed5e77dfa25a9ad25b5297e1f58eabaffected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before 3df71e11a4773d775c3633c44319f7acdb89011caffected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before 076f2479fc5a15c4a970ca3b5e57d42ba09a31faaffected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before 55195563ec29f80f984237b743de0e2b6ba4d093affected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before 56ad3f475482bca55b0ae544031333018eb145b3affected · git
- 4f4853dc1c9c1994f6f756eabdcc25374ff271d9 and later · before 84a53580c5d2138c7361c7c3eea5b31827e63b35affected · git
- before 4.10not affected · semver
- 4.14.293 and later · up to and including 4.14.*not affected · semver
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.10 and later · before 4.14.298
- linux linux kernel4.15 and later · before 4.19.258
- linux linux kernel4.20 and later · before 5.4.213
- linux linux kernel5.5 and later · before 5.10.143
- linux linux kernel5.11 and later · before 5.15.68
- linux linux kernel5.16 and later · before 5.19.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.19.11-1 | 5.19.11-1 |
| Red Hat:rhel_aus:8.6::baseos | bpftool | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | bpftool-debuginfo | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-abi-stablelists | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-core | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-core | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-debuginfo | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-devel | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-modules | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-modules-extra | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debuginfo | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debuginfo-common-x86_64 | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-devel | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-doc | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-modules | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-modules-extra | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools-debuginfo | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools-libs | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | perf | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | perf-debuginfo | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | python3-perf | before 0:4.18.0-372.123.1.el8_6 | 0:4.18.0-372.123.1.el8_6 |
+22
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-48675May 3, 2024 · IB/core: Fix a nested dead lock as part of ODP flow22Monitor
- ← EarlierCVE-2022-48686May 3, 2024 · nvme-tcp: fix UAF when detecting digest errors31Monitor
- Later →CVE-2022-48688May 3, 2024 · i40e: Fix kernel crash during module removal22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 076f2479fc5a15c4a970ca3b5e57d42ba09a31fa | Vendor (CNA) |
| Linux Linux | 3df71e11a4773d775c3633c44319f7acdb89011c | Vendor (CNA) |
| Linux Linux | 55195563ec29f80f984237b743de0e2b6ba4d093 | Vendor (CNA) |
| Linux Linux | 56ad3f475482bca55b0ae544031333018eb145b3 | Vendor (CNA) |
| Linux Linux | 84a53580c5d2138c7361c7c3eea5b31827e63b35 | Vendor (CNA) |
| Linux Linux | dc9dbd65c803af1607484fed5da50d41dc8dd864 | Vendor (CNA) |
| Linux Linux | f684c16971ed5e77dfa25a9ad25b5297e1f58eab | Vendor (CNA) |
| debian:linux | 5.19.11-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-372.123.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| suse:kernel-default | 5.3.18-150200.24.191.1 · SUSE:Linux Enterprise Live Patching 15 SP2 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150200.24.191.1.150200.9.97.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150200.24.191.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP2_Update_48 | 1-150200.5.3.1 · SUSE:Linux Enterprise Live Patching 15 SP2 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_0 | 13-150500.9.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_0 | 14-150500.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150200.24.191.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150200.24.191.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-rt | 5.14.21-150400.15.106.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-source | 5.3.18-150200.24.191.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
+2
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0494 · May 16, 2024(Linux Kernel Güncellemesi)
- TR-24-0432 · May 6, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/3df71e11a4773d775c3633c44319f7acdb89011c
- git.kernel.org/stable/c/55195563ec29f80f984237b743de0e2b6ba4d093
- git.kernel.org/stable/c/56ad3f475482bca55b0ae544031333018eb145b3
- git.kernel.org/stable/c/84a53580c5d2138c7361c7c3eea5b31827e63b35
- git.kernel.org/stable/c/dc9dbd65c803af1607484fed5da50d41dc8dd864
- git.kernel.org/stable/c/f684c16971ed5e77dfa25a9ad25b5297e1f58eab
Vendor advisories and official records. Exploit/PoC links are deliberately left out.