# CVE-2022-49374: tipc: check attribute length for bearer name

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-02-26T02:11:15.127Z
- **Modified:** 2026-06-17T05:17:51.880Z

## Who should check

- Anyone running Linux \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< f07670871f4d19e613740eebe210e7e9ea535973; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 8b91d0dfc839e67708c905648cd0e7507a2263e5; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< b8fac8e321044a9ac50f7185b4e9d91a7745e4b0; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 92a930fcf4250fe961f6238b99af0bc405799f39; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 292be63c382ce20673ee61dff1ee9ed4a3dcaae7; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 3af15272cde28fe5c8489174b8624e232c1775ec; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 7f36f798f89bf32c0164049cb0e3fd1af613d0bb
- Anyone running Linux 4.17

## Description

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

tipc: check attribute length for bearer name

syzbot reported uninit-value:
=====================================================
BUG: KMSAN: uninit-value in string\_nocheck lib/vsprintf.c:644 \[inline\]
BUG: KMSAN: uninit-value in string+0x4f9/0x6f0 lib/vsprintf.c:725
 string\_nocheck lib/vsprintf.c:644 \[inline\]
 string+0x4f9/0x6f0 lib/vsprintf.c:725
 vsnprintf+0x2222/0x3650 lib/vsprintf.c:2806
 vprintk\_store+0x537/0x2150 kernel/printk/printk.c:2158
 vprintk\_emit+0x28b/0xab0 kernel/printk/printk.c:2256
 vprintk\_default+0x86/0xa0 kernel/printk/printk.c:2283
 vprintk+0x15f/0x180 kernel/printk/printk\_safe.c:50
 \_printk+0x18d/0x1cf kernel/printk/printk.c:2293
 tipc\_enable\_bearer net/tipc/bearer.c:371 \[inline\]
 \_\_tipc\_nl\_bearer\_enable+0x2022/0x22a0 net/tipc/bearer.c:1033
 tipc\_nl\_bearer\_enable+0x6c/0xb0 net/tipc/bearer.c:1042
 genl\_family\_rcv\_msg\_doit net/netlink/genetlink.c:731 \[inline\]

- Do sanity check the attribute length for TIPC\_NLA\_BEARER\_NAME.
- Do not use 'illegal name' in printing message.

## Affected and fixed versions

- Linux: \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< f07670871f4d19e613740eebe210e7e9ea535973; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 8b91d0dfc839e67708c905648cd0e7507a2263e5; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< b8fac8e321044a9ac50f7185b4e9d91a7745e4b0; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 92a930fcf4250fe961f6238b99af0bc405799f39; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 292be63c382ce20673ee61dff1ee9ed4a3dcaae7; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 3af15272cde28fe5c8489174b8624e232c1775ec; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 7f36f798f89bf32c0164049cb0e3fd1af613d0bb (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 7f36f798f89bf32c0164049cb0e3fd1af613d0bb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49374. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49374.md
Affected: Linux >= cb30a63384bc91d5da06e1cede1115f666a29271, < f07670871f4d19e613740eebe210e7e9ea535973; >= cb30a63384bc91d5da06e1cede1115f666a29271, < 8b91d0dfc839e67708c905648cd0e7507a2263e5; >= cb30a63384bc91d5da06e1cede1115f666a29271, < b8fac8e321044a9ac50f7185b4e9d91a7745e4b0; >= cb30a63384bc91d5da06e1c…
Fixed in: Linux 8b91d0dfc839e67708c905648cd0e7507a2263e5, Linux 92a930fcf4250fe961f6238b99af0bc405799f39, Linux 292be63c382ce20673ee61dff1ee9ed4a3dcaae7, Linux 3af15272cde28fe5c8489174b8624e232c1775ec, Linux 7f36f798f89bf32c0164049cb0e3fd1af613d0bb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49374 being exploited?

There is no confirmed exploitation: CVE-2022-49374 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49374?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49374?

Linux \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< f07670871f4d19e613740eebe210e7e9ea535973; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 8b91d0dfc839e67708c905648cd0e7507a2263e5; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< b8fac8e321044a9ac50f7185b4e9d91a7745e4b0; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 92a930fcf4250fe961f6238b99af0bc405799f39; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 292be63c382ce20673ee61dff1ee9ed4a3dcaae7; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 3af15272cde28fe5c8489174b8624e232c1775ec; \>= cb30a63384bc91d5da06e1cede1115f666a29271, \< 7f36f798f89bf32c0164049cb0e3fd1af613d0bb; Linux 4.17.

### Is there a fix for CVE-2022-49374?

Yes. Fixed in Linux 8b91d0dfc839e67708c905648cd0e7507a2263e5, Linux 92a930fcf4250fe961f6238b99af0bc405799f39, Linux 292be63c382ce20673ee61dff1ee9ed4a3dcaae7, Linux 3af15272cde28fe5c8489174b8624e232c1775ec, Linux 7f36f798f89bf32c0164049cb0e3fd1af613d0bb. Upgrade Linux to 7f36f798f89bf32c0164049cb0e3fd1af613d0bb or later.

### How do I check if I'm affected by CVE-2022-49374?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f07670871f4d19e613740eebe210e7e9ea535973>
- patch: <https://git.kernel.org/stable/c/8b91d0dfc839e67708c905648cd0e7507a2263e5>
- patch: <https://git.kernel.org/stable/c/b8fac8e321044a9ac50f7185b4e9d91a7745e4b0>
- patch: <https://git.kernel.org/stable/c/92a930fcf4250fe961f6238b99af0bc405799f39>
- patch: <https://git.kernel.org/stable/c/292be63c382ce20673ee61dff1ee9ed4a3dcaae7>
- patch: <https://git.kernel.org/stable/c/3af15272cde28fe5c8489174b8624e232c1775ec>
- patch: <https://git.kernel.org/stable/c/7f36f798f89bf32c0164049cb0e3fd1af613d0bb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49374>

HTML: <https://flawdb.com/CVE-2022-49374> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49374>
