Skip to content
Medium 4.4

Vulnerability in Kernel

CVE-2026-98647 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-98647 has been found in Kernel.
Risk of unauthorized operations or information disclosure.
What to do: upgrade Kernel to 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9 or later.
If unsure, ask your IT team or search "Kernel CVE-2026-98647" on the vendor's site.

CVE-2026-98647 (Kernel)
Patched: 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (unclassified) exists in Kernel.

Affected scope

Check the vendor advisory for the affected versions of Kernel.

Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

How to fix

Update to 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'Kernel' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Kernel を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade Kernel to 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9

    ステージング環境で 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 5.8.0, < 5.15.222→ 5.15.222
≥ 5.16.0, < 6.1.189→ 6.1.189
≥ 6.2.0, < 6.6.158→ 6.6.158
≥ 6.7.0, < 6.12.112→ 6.12.112
≥ 6.13.0, < 6.18.55→ 6.18.55
≥ 6.19.0, < 7.2.9→ 7.2.9

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix divide-by-zero in btf_struct_walk()

When an access goes past the struct and the last member is a flexible
array, btf_struct_walk() folds the offset back into a single element with
(off - moff) % t->size, but never checks that the element type has a size.

BTF takes an empty struct, so this in program BTF

/* event could be empty */
struct event {

#ifdef HAVE_TIMESTAMP
__u64 ts;
#endif
};

struct batch {
	int nr;
	struct event events[];
};

divides by zero at prog load time. Getting there needs a PTR_TO_BTF_ID that
is not MEM_ALLOC, e.g. a plain read of a local kptr stashed in a map from a
sleepable program.

Oops: divide error: 0000 [#1] SMP KASAN PTI
RIP: 0010:btf_struct_walk+0x53f/0x1570
Call Trace:

btf_struct_access+0x42a/0xcd0
check_ptr_to_btf_access+0x4dc/0x1160
check_mem_access+0x3a45/0x8740
check_load_mem+0x36a/0xd10
do_check_common+0x3ef0/0xb210
bpf_check+0x6d3b/0x8580
bpf_prog_load+0xf7c/0x2720
__sys_bpf+0xa83/0x3690
__x64_sys_bpf+0xc7/0x150
x64_sys_call+0x1f3f/0x27e0
do_syscall_64+0xe5/0x610
entry_SYSCALL_64_after_hwframe+0x76/0x7e

Reject a zero-sized element type. The fixed array path in the same function
already bails out on the same thing:

btf_struct_walk()
...
	/* skip empty array */
	if (moff == mtrue_end)
		continue;

	msize /= total_nelems;

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details