Vulnerability in linux
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 DEBIAN-CVE-2025-39819 has been found in linux.
Attackers can target a specific entry point like smb2_compound_op over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade linux to 6.1.153-1 or later.
If unsure, ask your IT team or search "linux DEBIAN-CVE-2025-39819" on the vendor's site.
DEBIAN-CVE-2025-39819 (linux)
Attack surface: smb2_compound_op / cfile / vars / is_replayable_error
Patched: 6.1.153-1 — 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.
A vulnerability (unclassified) exists in linux. Attackers reach the vulnerable code path via smb2_compound_op.
Check the vendor advisory for the affected versions of linux. Attack surface: smb2_compound_op / cfile / vars / is_replayable_error.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 6.1.153-1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'linux' . 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
Identify exposureidentify
grep -r 'linux' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
linuxを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade linux to 6.1.153-1ステージング環境で 6.1.153-1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:11linux |
All versions→ Not listed |
Not listed |
| Debian:12linux |
< 6.1.153-1→ 6.1.153-1 |
6.1.153-1 |
| Debian:13linux |
< 6.12.48-1→ 6.12.48-1 |
6.12.48-1 |
| Debian:14linux |
< 6.16.5-1→ 6.16.5-1 |
6.16.5-1 |
| Debian:11linux-6.1 |
< 6.1.153-1~deb11u1→ 6.1.153-1~deb11u1 |
6.1.153-1~deb11u1 |
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved: fs/smb: Fix inconsistent refcnt update A possible inconsistent update of refcount was identified in smb2_compound_op. Such inconsistent update could lead to possible resource leaks. Why it is a possible bug: 1. In the comment section of the function, it clearly states that the reference to cfile should be dropped after calling this function. 2. Every control flow path would check and drop the reference to cfile, except the patched one. 3. Existing callers would not handle refcount update of cfile if -ENOMEM is returned. To fix the bug, an extra goto label "out" is added, to make sure that the cleanup logic would always be respected. As the problem is caused by the allocation failure of vars, the cleanup logic between label "finished" and "out" can be safely ignored. According to the definition of function is_replayable_error, the error code of "-ENOMEM" is not recoverable. Therefore, the replay logic also gets ignored.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org