Skip to navigation

Threat reportVulnerabilityTL-2026-0925

CVE-2026-20971: Eight-Year-Old Samsung Knox PROCA/FIVE Kernel Use-After-Free in /proc/pid/integrity Handlers

highPATCHED

A use-after-free in Samsung's proprietary PROCA/FIVE kernel integrity subsystem (CVE-2026-20971, CVSS 7.8) lets a local untrusted Android app race execve() against the procfs handlers under /proc/pid/integrity/, which fetch a raw pointer to a task_integrity object without holding a reference. LucidBit Labs demonstrated a crash-free KASLR-bypass leak and a spinlock-driven constrained kernel write; Samsung patched it in the January 2026 SMR (patch level 2026-01-01).

Key facts

IdentifiersTL-2026-0925, CVE-2026-20971
Also known as8-Year-Old Samsung Knox Vulnerability, Samsung Knox PROCA/FIVE UAF
SeverityHIGH
CVSS7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
EPSSCVE-2026-20971: 0.1% (2.7th percentile)
Affected productsSamsung Galaxy S-series (PROCA/FIVE kernel integrity driver); Samsung Galaxy A-series (validated on A54); Samsung Android OS on Samsung Mobile (Knox PROCA driver)
Weaknesses (CWE)CWE-416, CWE-362, CWE-825, CWE-787
MITRE ATT&CK techniquesT1057 Process Discovery, T1068 Exploitation for Privilege Escalation, T1082 System Information Discovery, T1083 File and Directory Discovery, T1106 Native API, T1203 Exploitation for Client Execution, T1212 Exploitation for Credential Access, T1404 Exploitation for Privilege Escalation, T1407 Download New Code at Runtime, T1424 Process Discovery, T1426 System Information Discovery, T1548 Abuse Elevation Control Mechanism and 5 more in the attack flow
MotivationUNKNOWN
Target sectorsconsumer, government, enterprise, telecommunications
Target regionsGlobal
Detection rules9 (1 shown free)
Sources7 cited sources

Detection coverage

As of 2026-06-24, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0925 across Splunk SPL, Microsoft KQL and Sigma, covering 18 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: PROCA/FIVE Integrity procfs Tight-Loop Read Race — Exploitation (CVE-2026-20971)

Detects an unprivileged process tight-looping reads of /proc/<pid>/integrity/{value,reset_file,label} while concurrently issuing execve() — the exploitation fingerprint of the Samsung Knox PROCA/FIVE use-after-free. A real exploit opens these per-PID integrity descriptors in a tight loop to win the execve()-vs-read race that frees the task_integrity object, so a high read rate of these paths from a single non-root process inside a short window is the primary exploitation signal.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1203, T1068, T1404
  • Data sources: linux:auditd, DeviceFileEvents, sysmon_linux
  • Severity: high
  • Confidence: high

Splunk SPL

index=linux sourcetype="linux:auditd" (type=PATH OR type=SYSCALL) name="/proc/*/integrity/value" OR name="/proc/*/integrity/reset_file" OR name="/proc/*/integrity/label"
| eval is_priv=if(euid=0,1,0)
| where is_priv=0
| bin _time span=10s
| stats count AS integrity_reads dc(name) AS distinct_descriptors values(name) AS paths by _time, pid, comm, euid
| where integrity_reads>100
| eval risk="PROCA/FIVE UAF integrity procfs tight-loop read (CVE-2026-20971 exploitation)"
| table _time pid comm euid integrity_reads distinct_descriptors paths risk

Microsoft KQL

DeviceFileEvents
| where Timestamp > ago(24h)
| where FolderPath matches regex @"/proc/[0-9]+/integrity/(value|reset_file|label)"
| where ActionType in ("FileAccessed", "FileOpened", "FileCreated")
| where isempty(InitiatingProcessAccountName) or InitiatingProcessAccountName != "root"
| summarize IntegrityReads = count(), DistinctDescriptors = dcount(FolderPath), Paths = make_set(FolderPath, 8) by bin(Timestamp, 10s), DeviceId, InitiatingProcessId, InitiatingProcessFileName
| where IntegrityReads > 100
| project Timestamp, DeviceId, InitiatingProcessId, InitiatingProcessFileName, IntegrityReads, DistinctDescriptors, Paths

Sigma

title: PROCA/FIVE Integrity procfs Tight-Loop Read Race (CVE-2026-20971 Exploitation)
id: 6f3c1a9e-2b74-4d18-9a0e-1c2d3e4f5a61
status: experimental
description: Unprivileged process performing high-rate reads of Samsung Knox PROCA/FIVE per-PID integrity descriptors, consistent with racing execve() to trigger the task_integrity use-after-free.
references:
    - https://security.samsungmobile.com/securityUpdate.smsb?year=2026&month=01
    - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-20971
author: Threadlinqs Team
date: 2026/06/24
tags:
    - attack.execution
    - attack.t1203
    - attack.privilege_escalation
    - attack.t1068
    - attack.t1404
    - cve.2026.20971
logsource:
    product: linux
    category: file_event
detection:
    selection:
        TargetFilename|re: '/proc/[0-9]+/integrity/(value|reset_file|label)'
    timeframe: 10s
    condition: selection | count() by ProcessId > 100
falsepositives:
    - Samsung Knox MDM or device-integrity tooling legitimately polling integrity state
    - Security/forensic agents enumerating procfs
level: high

Known false positives:

  • Samsung Knox MDM agents or device-integrity tooling legitimately polling /proc/<pid>/integrity state
  • Forensic/EDR agents enumerating procfs across many PIDs

Tuning notes: Tune the >100 reads/10s threshold to the device baseline; legitimate Knox integrity tooling reads these paths but at low, steady rates. Exclude known MDM/EDR process names. Lower the window to 5s on chatty fleets to keep the race signature tight.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Defender for Endpoint: Integrity procfs Descriptor Enumeration Across Foreign PIDs — Exploitation (CVE-2026-20971) · unlock with TL Creds
  • Defender for Endpoint: Crash-Free Kernel Memory Disclosure via Repeated integrity/value Reads — Post-Exploitation (CVE-2026-20971) · unlock with TL Creds
  • Defender for Endpoint: reset_file/label Access Driving Constrained Kernel Write — Escalation (CVE-2026-20971) · unlock with TL Creds
  • Sigma: Unprivileged App Racing execve Against PROCA Integrity Reads — Exploitation (CVE-2026-20971) · unlock with TL Creds
  • Sigma: PROCA reset_file Reallocation Grooming via Non-ELF monkey Load — Post-Exploitation (CVE-2026-20971) · unlock with TL Creds
  • Sigma: Sustained PROCA integrity/value Oracle Reads — Crash-Free KASLR Bypass (CVE-2026-20971) · unlock with TL Creds
  • Non-ELF [indicator] Load for PROCA reset_file Reallocation Grooming — Post-Exploitation (CVE-2026-20971) · unlock with TL Creds
  • execve()-vs-Integrity-Read Race Burst with Crash-Free Kernel Leak — Escalation Continuation (CVE-2026-20971) · unlock with TL Creds

Indicators of compromise

As of 2026-06-24, Threadlinqs Intelligence tracks 18 indicators of compromise for TL-2026-0925.

18 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

CVE-2026-20971 is a race-condition use-after-free vulnerability in Samsung's PROCA (Process Authenticator) and FIVE (File-based Integrity Verification Engine) kernel integrity subsystem, a proprietary Samsung extension of the Linux Integrity Measurement Architecture (IMA) bundled into the Samsung Knox security stack. The flaw was introduced around 2017 and lay dormant for roughly eight years, affecting essentially every Samsung Galaxy device from the Galaxy S9 through the S25 and the A-series (validated on the Galaxy A54), across both Exynos and Qualcomm chipset variants and Android 13, 14, 15 and 16.

FIVE tracks the trust state of every running process via a per-task `task_integrity` object. When a process forks and the child calls `execve()`, FIVE allocates a fresh integrity object and drops the old one through `task_integrity_put(old_tint)`, freeing the original struct. The bug is that the procfs handlers exposed under `/proc/<pid>/integrity/` (`proc_integrity_value_read()`, `proc_integrity_reset_file()`, `proc_integrity_label_read()`) read a raw pointer to the target task's `task_integrity` object without taking a reference. In a fully preemptive kernel a reader thread can be suspended between fetching the pointer and dereferencing it. If the victim task executes `execve()` in that window, `task_integrity_put()` frees the object and the handler resumes operating on freed memory — for example `proc_integrity_value_read()` resuming into `task_integrity_user_read()` with a dangling pointer.

LucidBit Labs built three distinct primitives on top of the UAF. (1) A memory-disclosure / KASLR-bypass oracle: `task_integrity_user_read()` reads the `user_value` field at offset 0 of the freed object, returning a DWORD from reclaimed kernel memory with no crash risk, usable to defeat kernel address-space layout randomization. (2) An arbitrary-call attempt: `proc_integrity_reset_file()` drives a `d_dname()` function-pointer call through a freed `struct file`; the researchers forced the `reset_file` refcount to 1 by loading a non-ELF system binary (`/system/bin/monkey`) to win controlled reallocation, but Android's kernel Control-Flow Integrity (KCFI) blocked arbitrary redirection, constraining call targets to type-compatible functions. (3) A constrained write: `proc_integrity_label_read()` acquires a `spinlock_t` on the freed object, and once that memory is reclaimed the queued-spinlock atomic operations produce a constrained write at offset 0x0c, capable of overlapping adjacent pointers, refcounts or length fields. The chain is reachable from an untrusted, unprivileged app and yields kernel memory corruption with a plausible path toward deeper device control. No public weaponized exploit or in-the-wild abuse has been reported; the work is defensive security research. Samsung remediated the flaw in the January 2026 Security Maintenance Release (SMR Jan-2026 Release 1, patch level 2026-01-01 or later) by holding a proper reference to the integrity object across the procfs handlers.

MITRE ATT&CK techniques by tactic:

Discovery

T1057 Process Discovery; T1082 System Information Discovery; T1083 File and Directory Discovery; T1426 System Information Discovery

Privilege Escalation

T1068 Exploitation for Privilege Escalation; T1404 Exploitation for Privilege Escalation; T1548 Abuse Elevation Control Mechanism; T1611 Escape to Host

Execution

T1106 Native API; T1203 Exploitation for Client Execution

Credential Access

T1212 Exploitation for Credential Access

Defense Evasion

T1407 Download New Code at Runtime; T1620 Reflective Code Loading

discovery

T1424 Process Discovery

defense-impairment

T1553 Subvert Trust Controls; T1685 Disable or Modify Tools

Persistence

T1577 Compromise Application Executable

Remediation

Patches

  • Samsung SMR Jan-2026 Release 1 (SVE/Knox PROCA driver fix for CVE-2026-20971); applies to Android 13, 14, 15, 16

Immediate actions

  • Install the Samsung January 2026 Security Maintenance Release (verify Settings > About phone > Android security update shows 2026-01-01 or later)
  • Restrict installation of untrusted/sideloaded apps that could host a local exploit

Workarounds

  • No vendor workaround other than patching; integrity-tracking procfs entries are not user-disableable
  • Limit exposure by vetting and minimizing third-party app installs until patched

Longer-term hardening

  • Enforce MDM policy requiring devices to be at the latest Samsung SMR patch level before granting access to corporate resources
  • Deploy mobile threat defense (MTD) / EDR capable of flagging local privilege-escalation behavior on Android

Affected and fixed versions

  • Samsung — Galaxy S-series (PROCA/FIVE kernel integrity driver)
    Vulnerable versions: Galaxy S9; S10; S20; S21; S22; S23; S24; S25
    Fixed in: SMR Jan-2026 Release 1 (patch level 2026-01-01+)
  • Samsung — Galaxy A-series (validated on A54)
    Vulnerable versions: Galaxy A54; A-series Exynos and Qualcomm variants
    Fixed in: SMR Jan-2026 Release 1 (patch level 2026-01-01+)
  • Samsung — Android OS on Samsung Mobile (Knox PROCA driver)
    Vulnerable versions: Android 13; Android 14; Android 15; Android 16 (SMR Feb-2022 through Dec-2025)
    Fixed in: SMR Jan-2026 Release 1

Timeline

  • Use-after-free introduced in Samsung's PROCA/FIVE kernel integrity subsystem when the /proc/pid/integrity handlers were added without holding a reference to the task_integrity object (~8 years before disclosure).
  • Vulnerable code present across Samsung Security Maintenance Releases from February 2022 onward (per NVD affected-configuration range), spanning Android 13 through 16.
  • LucidBit Labs analyzes the PROCA/FIVE procfs handlers, identifies the execve()/task_integrity_put() race, and develops the KASLR-bypass leak, d_dname arbitrary-call attempt, and spinlock constrained-write primitives.
  • LucidBit Labs responsibly discloses CVE-2026-20971 to Samsung ahead of the January 2026 Security Maintenance Release.
  • Samsung publishes the January 2026 Mobile Security bulletin (SMR Jan-2026) listing the PROCA/FIVE integrity-driver fix among the month's SVE items.
  • Samsung publishes the January 2026 SMR (Release 1) fixing the PROCA driver UAF; patch level 2026-01-01 or later. CVE-2026-20971 published on NVD.
  • NVD record for CVE-2026-20971 last modified, finalizing CVSS v3.1 (7.8) and CWE-416 mapping.
  • Public technical write-ups (SecurityWeek, CyberSecurityNews, Security Affairs) detail the eight-year-old Knox flaw and LucidBit's exploitation primitives.
  • Threat ingested and analyzed by the Threadlinqs intelligence pipeline; KCFI confirmed as the control that downgraded the arbitrary-call primitive to a constrained write, keeping the chain short of full code execution.

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats