LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47297: net: fix uninit-value in caif_seqpkt_sendmsg

In the Linux kernel, the following vulnerability has been resolved: net: fix uninit-value in caif_seqpkt_sendmsg When nr_segs equal to zero in iovec_from_user, the object msg->msg_iter.iov is uninit stack memory in caif_seqpkt_sendmsg which is defined in ___sys_sendmsg. So we cann't just judge msg->msg_iter.iov->base directlly. We can use nr_segs to judge msg in caif_seqpkt_sendmsg whether has data buffers. ===================================================== BUG: KMSAN: uninit-value in caif_seqpkt_sendmsg+0x693/0xf60 net/caif/caif_socket.c:542 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 caif_seqpkt_sendmsg+0x693/0xf60 net/caif/caif_socket.c:542 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x12b6/0x1350 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmmsg+0x808/0xc90 net/socket.c:2480 __compat_sys_sendmmsg net/compat.c:656 [inline]

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-47297 is a Linux kernel flaw in the CAIF socket path. A local low-privileged user could trigger unstable kernel behavior that mainly threatens system availability, not data theft. It is not listed as CISA KEV, and the provided sources do not show active exploitation.

Executive priority

Treat as a routine but real kernel availability risk. Prioritize patching multi-user and shared workload systems, then fold remaining assets into normal kernel maintenance.

Technical view

The bug is an uninitialized-value use in caif_seqpkt_sendmsg when iovec_from_user receives zero segments. The vulnerable path can inspect uninitialized msg_iter.iov stack memory. Upstream Linux stable commits fix the logic by using nr_segs to determine whether user data buffers exist.

Likely exposure

Exposure is limited to Linux systems running affected kernel versions with the CAIF socket code reachable by local users or local workloads. Remote-only exposure is not supported by the provided CVSS vector or sources.

Exploitation context

The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact and no confidentiality or integrity impact. The source bundle states KEV is false and provides no evidence of public exploitation.

Researcher notes

The provided record identifies the vulnerable function, KMSAN evidence, CVSS 5.5, affected Linux versions, and upstream stable commits. It does not provide exploit proof, distribution package mappings, or non-upstream mitigation guidance.

Mitigation direction

  • Inventory Linux kernel versions across servers, endpoints, appliances, and container hosts.
  • Apply vendor-supported kernel updates containing the referenced upstream stable fixes.
  • Check distribution advisories for exact package versions, reboot requirements, and backport status.
  • Prioritize shared systems where untrusted users or workloads can execute locally.

Validation and detection

  • Confirm running kernels are outside the affected ranges or include the upstream fix commits.
  • Verify vendor kernel packages map to the fixed Linux stable releases or backports.
  • Review local access models for systems allowing untrusted users, containers, or workloads.
  • Track reboot completion because kernel package installation alone may not activate the fix.
Prepared
Confidence
high
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-47297 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-47297Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxbece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60, bece7b2398d073d11b2e352405a3ecd3a1e39c60unaffected
LinuxLinux2.6.35, 0, 4.4.277, 4.9.277, 4.14.241, 4.19.199, 5.4.136, 5.10.54, 5.13.6, 5.14affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.