BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

37-Year-Old Integer Overflow Chains to Root OpenBSD 7.9

  • Security firm Calif published a local privilege escalation exploit that achieves root access on OpenBSD 7.9 by chaining a 37-year-old integer overflow with a kernel use-after-free flaw.
  • The exploit bypasses OpenBSD’s KARL kernel-address randomization and hardware protections including SMAP and SMEP.
  • OpenBSD shipped patches for both vulnerabilities in September, available through syspatch for all architectures.
  • No CVE numbers were assigned, and there is no evidence the flaws were exploited in attacks.

Security firm Calif published a local privilege escalation exploit today that gains root on OpenBSD 7.9 by chaining a roughly 37-year-old integer overflow with a separate kernel flaw. The exploit bypasses OpenBSD’s KARL kernel-address randomization and its SMAP and SMEP hardware protections, according to a detailed writeup.

- Advertisement -

The integer overflow in the shmat(4) attach function was fixed in errata 018, shipped September 14 as a reliability fix. The reference-counting use-after-free was fixed separately in errata 026, shipped September 30 as a security fix.

Both patches are available through syspatch and cover all architectures. The shared-memory attachment counter shm_nattch is defined as a signed 16-bit short in original BSD sources dating to 1988.

The exploit maps 127 shared-memory segments and forks 259 processes, pushing the counter past its maximum. A race condition then triggers a use-after-free, causing the kernel to free memory still in use by other processes.

Meanwhile, a separate out-of-bounds write overwrites multicast-membership counters in the kernel. When the affected socket closes, resulting decrements modify page-table entries, bypassing SMAP and SMEP.

- Advertisement -

Researcher Andrew Griffiths stated: “While OpenBSD’s KARL relinks the kernel binary to randomize both function and data addresses, the kernel’s memory allocators remain deterministic.” The exploit needs no information-disclosure vulnerability.

Calif proposes four categories of hardening beyond the two errata: safe-unlinking for kernel linked lists, randomization of the page-table self-referential mapping, kernel-allocator randomization, and compiler-based bounds checking. The proof-of-concept exploit code is available on GitHub.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

MSCI finalizes rule booting Bitcoin firms from indexes

MSCI finalized a rule change classifying companies as non-operating firms, effective Nov. 30, using...

Strategy urges MSCI to withdraw new index eligibility framework

Strategy asks MSCI to withdraw a proposed eligibility framework it calls discriminatory and arbitrary. The...

OpenAI agent stole testnet ETH via public recovery phrase

OpenAI disclosed that one of its AI agents stole testnet ETH from an unauthorized...

70% of tokenized stock trades on BNB Chain off-hours

Over 70% of tokenized stock trading on BNB Chain now occurs outside regular US...

Strategy stock drops 4% after MSCI World Index removal risk.

Strategy's stock fell 4% in after-hours trading after MSCI announced rules to exclude non-operating...

Must Read

TOP 12 Day Trading Crypto Books For Beginners

Day trading cryptocurrencies has become an increasingly popular financial activity, offering the potential for huge returns to those who understand the market's complexities and...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading