Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2026-74469 — CVE-2026-74469 (DiagSpill) के लिए शोध रिपॉज़िटरी, जो एक Linux kernel SCTP peer transport counter overflow है जिसके कारण out-of-bounds write होता है, साथ में PoC, root-cause analysis, और patch विवरण। | Kitploit
उपकरण/GitHubGitHub/0xblackash/cve-2026-74469
विशेषाधिकार वृद्धिमेमोरी फोरेंसिकभेद्यता विश्लेषणशोषणपेपर और शोधलर्निंग और शिक्षाबाइनरी शोषणलैब और अभ्यास
GitHub0xblackash/cve-2026-74469

CVE-2026-74469

CVE-2026-74469 (DiagSpill) के लिए शोध रिपॉज़िटरी, जो एक Linux kernel SCTP peer transport counter overflow है जिसके कारण out-of-bounds write होता है, साथ में PoC, root-cause analysis, और patch विवरण।

रिपॉजिटरी देखें
7घं 48मि पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

⚡ CVE-2026-74469 — DiagSpill

Linux Kernel SCTP Peer Transport Count Overflow

एक Linux kernel SCTP vulnerability जो 16-bit peer transport counter overflow के कारण होती है, जिससे counter 65535 से 0 पर wrap हो जाता है। SCTP diagnostic dump के दौरान, wrapped value अपर्याप्त skb payload reservation का कारण बन सकती है, जिसके बाद peer address data का out-of-bounds write होता है।


⚠️ Disclaimer

यह repository केवल authorized security research, kernel vulnerability analysis, CTF environments, kernel debugging, और defensive testing के लिए है।

बिना explicit authorization के systems पर proof-of-concept code का उपयोग न करें।


📌 Vulnerability Overview

Linux Kernel CVE advisory इस issue को SCTP में 16-bit transport_count overflow के रूप में वर्णित करता है, जिसके बाद undersized INET_DIAG_PEERS allocation और diagnostic dumping के दौरान out-of-bounds write होता है।


🧬 Vulnerability Description

Vulnerable code unique peer transports की संख्या को 16-bit counter में बनाए रखता है:

root@kitploit:~
transport_count

हर नया जोड़ा गया unique peer counter को increment करता है।

महत्वपूर्ण सीमा है:

root@kitploit:~
65535

एक और unique transport जोड़ने पर होता है:

root@kitploit:~
65535 + 1
     ↓
     0

इससे उत्पन्न wraparound निम्न के बीच असंगति पैदा करता है:

root@kitploit:~
transport_count

और:

root@kitploit:~
transport_addr_list

Diagnostic subsystem बाद में response buffer का आकार निर्धारित करते समय wrapped counter पर भरोसा करता है, जबकि यह अभी भी peer addresses की पूरी सूची पर iterate करता है।


🔬 Root Cause

Vulnerability को इस प्रकार दर्शाया जा सकता है:

root@kitploit:~
                    SCTP Association
                           │
                           ▼
                 Add unique peers
                           │
                           ▼
                 transport_count
                    uint16_t
                           │
                           ▼
                    65,535 peers
                           │
                           ▼
                 + 1 unique peer
                           │
                           ▼
                    Integer wrap
                           │
                           ▼
                transport_count = 0
                           │
                           ▼
                  SCTP sock_diag
                           │
                           ▼
             Reserve incorrect payload
                           │
                           ▼
          Iterate complete peer list
                           │
                           ▼
             Out-of-bounds skb write

Upstream advisory विशेष रूप से बताता है कि 65,536वाँ transport counter को शून्य पर wrap कर देता है।


🧠 Why the Bug Happens

Diagnostic code प्रभावी रूप से एक ही state के दो भिन्न दृष्टिकोणों पर निर्भर करता है।

Allocation side

root@kitploit:~
transport_count
       │
       ▼
payload size

Copy side

root@kitploit:~
transport_addr_list
       │
       ▼
copy every peer address

Integer wrap होने के बाद:

root@kitploit:~
transport_count = 0

transport_addr_list =
    [peer 1]
    [peer 2]
    [peer 3]
    ...
    [peer 65536]

इसलिए allocator निम्न के आधार पर स्थान आरक्षित करता है:

root@kitploit:~
0 peers

जबकि copy operation अभी भी निम्न को process कर सकता है:

root@kitploit:~
65536 peer addresses

यही असंगति memory-safety violation उत्पन्न करती है।


💥 Memory Corruption

Linux Kernel advisory परिणामी diagnostic dump को इस प्रकार वर्णित करता है कि यह खाली payload आरक्षित करता है और फिर लगभग 8 MiB peer addresses skb tail के पार लिख देता है।

संकल्पनात्मक रूप से:

root@kitploit:~
Expected skb:

┌───────────────────────────────┐
│ INET_DIAG header              │
├───────────────────────────────┤
│ Peer addresses                │
└───────────────────────────────┘
              ▲
              │
          valid end


Actual vulnerable state:

┌───────────────────────────────┐
│ INET_DIAG header              │
└───────────────────────────────┘
              ▲
              │
          skb tail

              ↓
      Peer address writes
              ↓
      Peer address writes
              ↓
      Peer address writes
              ↓
      OUT-OF-BOUNDS WRITE

Red Hat इस flaw को CWE-787: Out-of-bounds Write के रूप में वर्गीकृत करता है।


🔎 Vulnerable Code Path

संबंधित path को इस प्रकार संक्षेपित किया जा सकता है:

root@kitploit:~
SCTP association
      │
      ▼
sctp_assoc_add_peer()
      │
      ▼
transport_count++
      │
      ▼
16-bit overflow
      │
      ▼
SCTP sock_diag
      │
      ▼
INET_DIAG_PEERS
      │
      ▼
skb payload reservation
      │
      ▼
transport_addr_list iteration
      │
      ▼
Out-of-bounds write

प्रभावित source file है:

root@kitploit:~
net/sctp/associola.c

Linux Kernel CVE announcement इस file की स्पष्ट रूप से पहचान करता है।


🩹 Upstream Fix

Upstream fix है:

root@kitploit:~
bd0e9289e2642f6a5c54faad304ce0f41e926d22

Commit:

root@kitploit:~
sctp: prevent peer transport count overflow

Fix नए unique peer को अस्वीकार करता है जब:

root@kitploit:~
transport_count >= U16_MAX

महत्वपूर्ण बात यह है कि यह check existing-peer lookup के बाद होता है।

इससे association के limit तक पहुँचने पर भी पहले से मौजूद transport को प्राप्त करने की क्षमता बनी रहती है।


🛡️ Patch Logic

Vulnerable

root@kitploit:~
New peer
   │
   ▼
transport_count++
   │
   ▼
Possible 16-bit wrap
   │
   ▼
Diagnostic size mismatch
   │
   ▼
OOB write

Patched

root@kitploit:~
New peer
   │
   ▼
Existing peer?
   │
 ┌─┴──────────┐
 │            │
YES           NO
 │            │
 ▼            ▼
Reuse       Check U16_MAX
transport       │
                ▼
          Reject at limit

महत्वपूर्ण security property यह है कि counter को कभी wrap होने से रोका जाए, साथ ही existing peer के लिए सामान्य lookup semantics बनी रहें।


📊 Vulnerable vs Patched


💥 Security Impact

Memory corruption संभावित रूप से इनका कारण बन सकती है:

  • Kernel crash
  • Denial of service
  • Kernel memory corruption
  • Out-of-bounds kernel write
  • Potential privilege escalation
  • Potential kernel code execution

Disclosure के बाद जारी public research विशिष्ट परिस्थितियों में local-root exploitation की रिपोर्ट करता है, जबकि मूल Linux Kernel CNA scoring AV:L/AC:H/PR:L/UI:N का उपयोग करती है।

Vulnerability को बहुत विशिष्ट SCTP/address-configuration परिस्थितियों में संभावित रूप से remotely reachable भी बताया गया है, लेकिन इसे सामान्यतः remotely exploitable vulnerability के समतुल्य नहीं माना जाना चाहिए।


🧪 Research Environment

अनुशंसित isolated topology:

root@kitploit:~
┌───────────────────────────────────────────┐
│              Linux VM                    │
│                                           │
│       ┌───────────────────┐               │
│       │   SCTP Association │               │
│       └─────────┬─────────┘               │
│                 │                         │
│                 ▼                         │
│       ┌───────────────────┐               │
│       │ Multiple SCTP      │               │
│       │ Peer Transports    │               │
│       └─────────┬─────────┘               │
│                 │                         │
│                 ▼                         │
│       ┌───────────────────┐               │
│       │   SCTP sock_diag   │               │
│       └─────────┬─────────┘               │
│                 │                         │
│                 ▼                         │
│          INET_DIAG_PEERS                  │
│                                           │
└───────────────────────────────────────────┘

उपयोगी tools:

root@kitploit:~
ip sctp
ss
ss -a
ss -A sctp
dmesg -w
gdb
pwndbg
crash

SCTP support जाँचें:

root@kitploit:~
lsmod | grep sctp

Kernel configuration जाँचें:

root@kitploit:~
grep CONFIG_IP_SCTP /boot/config-$(uname -r)

🔎 Kernel Verification

चल रहे kernel को जाँचें:

root@kitploit:~
uname -r

SCTP configuration जाँचें:

root@kitploit:~
grep -E 'CONFIG_IP_SCTP|CONFIG_SCTP' \
/boot/config-$(uname -r)

Loaded SCTP modules जाँचें:

root@kitploit:~
lsmod | grep -i sctp

SCTP sockets का निरीक्षण करें:

root@kitploit:~
ss -A sctp

🧪 Reproduction Workflow

नियंत्रित kernel research के लिए:

root@kitploit:~
01. Build vulnerable kernel
          ↓
02. Boot isolated VM
          ↓
03. Enable SCTP
          ↓
04. Create controlled SCTP association
          ↓
05. Populate unique peer transports
          ↓
06. Reach transport-count boundary
          ↓
07. Trigger SCTP diagnostic dump
          ↓
08. Monitor skb diagnostics
          ↓
09. Capture kernel behavior
          ↓
10. Apply upstream fix
          ↓
11. Repeat test
          ↓
12. Compare vulnerable vs patched

Kernel output monitor करें:

root@kitploit:~
sudo dmesg -w

Debugging के लिए:

root@kitploit:~
gdb vmlinux

या:

root@kitploit:~
pwndbg vmlinux

📂 Repository Structure

root@kitploit:~
CVE-2026-74469-DiagSpill/
│
├── README.md
│
├── exploit/
│   ├── poc.c
│   └── Makefile
│
├── analysis/
│   ├── root-cause.md
│   ├── sctp-transport-count.md
│   ├── sock-diag.md
│   ├── skb-overflow.md
│   └── patch-analysis.md
│
├── kernel/
│   ├── vulnerable/
│   └── patched/
│
├── lab/
│   ├── setup.sh
│   ├── cleanup.sh
│   └── topology.md
│
├── screenshots/
│
├── docs/
│   └── research-notes.md
│
└── LICENSE

🛡️ Mitigation

मुख्य mitigation upstream fix वाले kernel पर upgrade करना है।

Debian/Kali के लिए:

root@kitploit:~
sudo apt update
sudo apt full-upgrade

फिर reboot करें:

root@kitploit:~
sudo reboot

सत्यापित करें:

root@kitploit:~
uname -r

यदि SCTP की आवश्यकता नहीं है, तो administrators अपने environment और operational requirements के अनुसार प्रभावित SCTP functionality को disable करने पर भी विचार कर सकते हैं। Public research विशेष रूप से SCTP / sctp_diag को disable करने को तत्काल mitigation के रूप में सूचीबद्ध करता है जब ये components उपयोग में न हों।


📦 Fixed Kernel Releases

Upstream stable announcement इन fixed releases को सूचीबद्ध करता है:

ये versions Linux Kernel CVE announcement से हैं; distributions fix को भिन्न version numbering वाले packages में backport कर सकते हैं।


🧩 Security Lessons

01 — Bounded counters को कभी चुपचाप wrap न होने दें

16-bit counter की एक कठोर अधिकतम सीमा होती है:

root@kitploit:~
U16_MAX = 65535

Security-sensitive code को उस सीमा को स्पष्ट रूप से handle करना चाहिए।

02 — Allocation और copy counts का मेल होना चाहिए

Buffer allocate करने के लिए उपयोग किया गया size उसमें वास्तव में copy किए गए objects की संख्या के अनुरूप होना चाहिए।

03 — Diagnostic interfaces security-sensitive होते हैं

जब internal state असंगत हो जाता है, तो kernel diagnostic APIs memory-corruption attack surfaces बन सकते हैं।

04 — Integer bugs memory-safety bugs बन सकते हैं

मूल primitive एक integer overflow है, लेकिन परिणामी security impact एक out-of-bounds kernel write है।

05 — Kernel networking state जटिल होती है

SCTP associations में peer transports के बड़े संग्रह हो सकते हैं, जिससे counter limits और list-management logic security-critical बन जाते हैं।


📚 References

  • CVE: CVE-2026-74469
  • Codename: DiagSpill
  • Subsystem: Linux SCTP
  • Affected file: net/sctp/associola.c
  • Primary function: sctp_assoc_add_peer()
  • Fix: sctp: prevent peer transport count overflow
  • Upstream fix: bd0e9289e2642f6a5c54faad304ce0f41e926d22
  • CWE: CWE-787 / Out-of-bounds Write
  • Linux Kernel CVE Advisory: CVE-2026-74469 advisory
  • Debian Security Tracker: CVE-2026-74469 Debian tracker
  • Red Hat: CVE-2026-74469 Red Hat advisory

⚡ DiagSpill

CVE-2026-74469

Linux Kernel · SCTP · sock_diag · OOB Write · Kernel Security


Research • Analyze • Reproduce • Harden


0xBlackash

टूल डाउनलोड करें
FieldDetails
CVECVE-2026-74469
CodenameDiagSpill
ComponentLinux Kernel
SubsystemSCTP / sock_diag
Affected Filenet/sctp/associola.c
Primary Functionsctp_assoc_add_peer()
Bug ClassInteger overflow / Out-of-bounds write
ImpactKernel memory corruption
Potential ImpactLocal privilege escalation
CVSS v3.17.0 — High
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
StatusPatched
Security PropertyVulnerablePatched
16-bit transport limit enforced❌✅
Counter wrap prevented❌✅
Existing peers remain usable✅✅
Diagnostic payload size reliable❌✅
OOB skb write prevented❌✅
Kernel memory corruption mitigated❌✅
BranchFixed Release
5.105.10.265
5.155.15.216
6.16.1.183
6.66.6.151
6.126.12.103
6.186.18.44
7.17.1.8
7.27.2-rc6