The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-28356

CVE-2022-28356: Linux Kernel Refcount Leak Vulnerability

CVE-2022-28356 is a refcount leak flaw in the Linux Kernel's net/llc/af_llc.c component affecting versions before 5.17.1. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-28356 Overview

CVE-2022-28356 is a memory leak vulnerability discovered in the Linux kernel's LLC (Logical Link Control) networking subsystem. The vulnerability exists in net/llc/af_llc.c where a refcount leak bug can be exploited to cause resource exhaustion, potentially leading to a denial of service condition on affected systems.

The flaw occurs in the llc_ui_bind() function where network device references are not properly released when error conditions occur during socket binding operations. This reference count leak can accumulate over time, preventing proper resource cleanup and eventually impacting system stability.

Critical Impact

Local attackers with low privileges can exploit this memory leak to cause denial of service through resource exhaustion on Linux systems running kernel versions before 5.17.1.

Affected Products

  • Linux Kernel versions before 5.17.1
  • Debian Linux 9.0 (Stretch)
  • Debian Linux 10.0 (Buster)
  • Debian Linux 11.0 (Bullseye)

Discovery Timeline

  • 2022-04-02 - CVE-2022-28356 published to NVD
  • 2025-05-05 - Last updated in NVD database

Technical Details for CVE-2022-28356

Vulnerability Analysis

The vulnerability resides in the LLC socket binding implementation within the Linux kernel networking stack. When a user-space application attempts to bind an LLC socket to a network interface, the kernel increments a reference count on the network device. However, if the binding operation fails for any reason after the reference has been incremented, the code path fails to properly decrement the reference count before returning an error.

This creates a situation where each failed bind attempt leaks one reference to the network device. Since reference counts control when kernel objects are freed, leaked references prevent proper resource cleanup. An attacker with local access can repeatedly trigger failed bind operations to exhaust kernel memory resources.

The vulnerability requires local access and low privileges to exploit, as the attacker must be able to create and bind LLC sockets. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system.

Root Cause

The root cause is improper cleanup handling in the error path of the llc_ui_bind() function. When the function allocates and increments a reference to a network device but subsequently encounters an error condition, it returns the error code without first releasing the device reference that was acquired. This violates the kernel's reference counting contract which requires that every reference increment be balanced with a corresponding decrement.

Attack Vector

The attack vector is local, requiring an authenticated user with the ability to create network sockets. The attacker would:

  1. Create an LLC socket using the socket system call
  2. Attempt to bind the socket to a network interface in a way that triggers an error condition
  3. Repeat this process to leak references
  4. Continue until kernel resources are exhausted, causing system instability or denial of service

The low attack complexity and absence of user interaction requirements make this vulnerability relatively straightforward to exploit once local access is obtained.

c
 	sock_reset_flag(sk, SOCK_ZAPPED);
 	rc = 0;
 out:
+	if (rc) {
+		dev_put_track(llc->dev, &llc->dev_tracker);
+		llc->dev = NULL;
+	}
 	return rc;
 }

Source: GitHub Linux Commit

The patch adds proper cleanup logic in the error path. When rc indicates an error (non-zero), the code now calls dev_put_track() to release the network device reference and sets llc->dev to NULL to prevent use-after-free scenarios.

Detection Methods for CVE-2022-28356

Indicators of Compromise

  • Unusual memory consumption growth in kernel space over time
  • Increasing network device reference counts without corresponding decrements
  • System performance degradation correlating with LLC socket operations
  • Kernel warnings or errors related to network device reference counting

Detection Strategies

  • Monitor system memory usage for gradual kernel memory exhaustion patterns
  • Audit processes creating LLC sockets using syscall monitoring
  • Track kernel log messages for reference counting warnings in the networking subsystem
  • Implement file integrity monitoring to verify kernel version matches patched releases

Monitoring Recommendations

  • Deploy endpoint detection solutions that monitor for unusual socket creation patterns
  • Configure kernel auditing to log LLC socket operations and bind failures
  • Establish baseline metrics for kernel memory usage to detect anomalous growth
  • Use SentinelOne's kernel-level visibility to detect exploitation attempts targeting networking subsystems

How to Mitigate CVE-2022-28356

Immediate Actions Required

  • Update Linux kernel to version 5.17.1 or later to receive the security fix
  • Apply distribution-specific security patches from Debian or other vendors
  • Restrict local access to systems where kernel updates cannot be immediately applied
  • Monitor for unusual system resource consumption as an interim measure

Patch Information

The vulnerability has been patched in Linux kernel version 5.17.1 and backported to supported distribution kernels. The fix is documented in the Linux Kernel ChangeLog 5.17.1 and the specific commit can be reviewed at the GitHub Linux Commit.

Distribution-specific patches are available through:

  • Debian Security Advisory DSA-5127
  • Debian Security Advisory DSA-5173
  • Debian LTS Announcement
  • NetApp Security Advisory NTAP-20220506-0006

Workarounds

  • Limit user access to systems running vulnerable kernel versions
  • Use kernel module blacklisting to disable LLC protocol support if not required (blacklist llc)
  • Implement resource limits (cgroups) to constrain the impact of memory exhaustion attacks
  • Restrict socket creation capabilities using Linux Security Modules (SELinux, AppArmor)
bash
# Disable LLC module if not needed
echo "blacklist llc" >> /etc/modprobe.d/blacklist-llc.conf
modprobe -r llc

# Verify current kernel version
uname -r

# Check for available kernel updates (Debian/Ubuntu)
apt update && apt list --upgradable | grep linux-image

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-Other
  • Technical References
  • Openwall OSS Security Notice

  • Debian LTS Announcement July 2022

  • NetApp Security Advisory NTAP-20220506-0006

  • Debian Security Advisory DSA-5127

  • Debian Security Advisory DSA-5173
  • Vendor Resources
  • Linux Kernel ChangeLog 5.17.1

  • GitHub Linux Commit Update
  • Related CVEs
  • CVE-2026-23457: Linux Kernel Integer Truncation Vulnerability

  • CVE-2026-23442: Linux Kernel IPv6 SRv6 Null Pointer Flaw

  • CVE-2026-23431: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31391: Linux Kernel Atmel SHA204A OOM Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English