Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-28772

CVE-2023-28772: Linux Kernel Buffer Overflow Vulnerability

CVE-2023-28772 is a buffer overflow vulnerability in the Linux Kernel's seq_buf.c file that can compromise system stability. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 11, 2026

CVE-2023-28772 Overview

CVE-2023-28772 is a buffer overflow vulnerability discovered in the Linux kernel's lib/seq_buf.c implementation. The vulnerability specifically affects the seq_buf_putmem_hex() function, which improperly handles buffer boundaries when converting memory contents to hexadecimal representation. This flaw exists in Linux kernel versions prior to 5.13.3 and could allow a local attacker with elevated privileges to potentially achieve code execution or cause system instability through memory corruption.

Critical Impact

Local attackers with high privileges can exploit this buffer overflow in seq_buf_putmem_hex() to corrupt memory, potentially leading to privilege escalation, arbitrary code execution, or system crashes affecting kernel stability.

Affected Products

  • Linux Kernel versions prior to 5.13.3
  • Systems running vulnerable kernel versions across all supported architectures
  • NetApp products using affected Linux kernel versions (see NetApp Security Advisory)

Discovery Timeline

  • 2023-03-23 - CVE-2023-28772 published to NVD
  • 2025-05-05 - Last updated in NVD database

Technical Details for CVE-2023-28772

Vulnerability Analysis

The buffer overflow in seq_buf_putmem_hex() occurs due to incorrect calculation of the buffer size needed for hexadecimal conversion operations. The function is designed to convert raw memory bytes into their hexadecimal string representation for debugging and tracing purposes. However, the original implementation failed to properly account for the fact that each byte of memory requires two hexadecimal characters for representation, leading to potential buffer boundary violations.

The vulnerability is classified under CWE-120 (Buffer Copy without Checking Size of Input), indicating a classic buffer overflow pattern where data is copied into a fixed-size buffer without adequate bounds checking. This type of flaw in kernel code is particularly concerning as it operates in the most privileged execution context.

Root Cause

The root cause lies in the seq_buf_putmem_hex() function's handling of the start_len calculation. The original code used HEX_CHARS - 1 as the maximum length for processing, but this value was too large considering that each byte converts to two hexadecimal characters. The fix introduces MAX_MEMHEX_BYTES as a proper boundary and adds a compile-time assertion (BUILD_BUG_ON) to ensure that MAX_MEMHEX_BYTES * 2 is always less than HEX_CHARS, preventing any future regressions.

Attack Vector

This vulnerability requires local access to the system and elevated privileges to exploit. An attacker would need to trigger the seq_buf_putmem_hex() function with carefully crafted input that exceeds the expected buffer boundaries. The attack surface includes kernel tracing facilities, debugging interfaces, and any kernel subsystem that utilizes the seq_buf library for hexadecimal memory dumps. While the local attack vector and high privilege requirement limit exposure, successful exploitation could result in kernel memory corruption with potential for privilege escalation or arbitrary code execution.

c
// Security patch from lib/seq_buf.c - Source: GitHub kernel commit
 
	WARN_ON(s->size == 0);
 
+	BUILD_BUG_ON(MAX_MEMHEX_BYTES * 2 >= HEX_CHARS);
+
	while (len) {
-		start_len = min(len, HEX_CHARS - 1);
+		start_len = min(len, MAX_MEMHEX_BYTES);
 #ifdef __BIG_ENDIAN
		for (i = 0, j = 0; i < start_len; i++) {
 #else

Source: GitHub Commit by Linus Torvalds

Detection Methods for CVE-2023-28772

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to seq_buf operations
  • Anomalous memory access patterns in kernel debugging or tracing subsystems
  • Kernel log entries indicating buffer overflows or memory corruption in lib/seq_buf.c
  • Unusual behavior in ftrace, printk, or other kernel tracing facilities

Detection Strategies

  • Monitor kernel version using uname -r and compare against the fixed version 5.13.3
  • Deploy kernel integrity monitoring solutions to detect unauthorized kernel memory modifications
  • Implement system call auditing to track privileged operations that may trigger vulnerable code paths
  • Use SentinelOne's kernel-level monitoring capabilities to detect anomalous kernel behavior patterns

Monitoring Recommendations

  • Enable kernel auditing for tracing-related system calls and operations
  • Configure alerting on unexpected kernel oops or panic events
  • Monitor for processes attempting to access kernel debugging interfaces with suspicious patterns
  • Deploy endpoint detection solutions capable of monitoring kernel-level activity

How to Mitigate CVE-2023-28772

Immediate Actions Required

  • Update Linux kernel to version 5.13.3 or later immediately
  • Review and restrict access to kernel debugging and tracing interfaces
  • Limit local user privileges to reduce the attack surface for exploitation
  • Apply vendor-specific patches from distribution maintainers (RHEL, Ubuntu, Debian, etc.)

Patch Information

The vulnerability was addressed in Linux kernel version 5.13.3. The fix modifies the seq_buf_putmem_hex() function in lib/seq_buf.c to use a correctly sized constant (MAX_MEMHEX_BYTES) and adds a compile-time check to prevent buffer overflow conditions. The patch is available through the official Linux kernel repository and has been backported to various distribution kernels.

For detailed patch information, refer to the Linux Kernel ChangeLog 5.13.3 and the GitHub commit.

Workarounds

  • Restrict access to kernel tracing interfaces using appropriate access controls
  • Disable unnecessary kernel debugging features in production environments
  • Implement strict privilege separation to limit accounts with kernel-level access
  • Use security modules (SELinux, AppArmor) to confine processes that interact with kernel tracing
bash
# Check current kernel version
uname -r

# Verify if system is vulnerable (versions below 5.13.3 are affected)
# Update kernel using package manager (example for Debian/Ubuntu)
sudo apt update && sudo apt upgrade linux-image-generic

# Restrict access to kernel tracing interfaces
sudo chmod 700 /sys/kernel/debug/tracing

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • LKML Patch Submission

  • LKML Discussion Email

  • NetApp Security Advisory ntap-20230427-0005
  • Vendor Resources
  • Linux Kernel ChangeLog 5.13.3

  • GitHub Commit by Linus Torvalds
  • Related CVEs
  • CVE-2026-31449: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31512: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31438: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31450: Linux Kernel Buffer Overflow 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