Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49779

HIGH 7.8EPSS 15%

kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case

Mitigation

  • Upgrade Linux to 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb or later.

Who should check

  • Anyone running Linux >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7b0007b28dd970176f2e297c06ae63eea2447127; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7d606ae1abcc3eab5408e42444d789dc7def51b8; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < c49cc2c059b503e962c2f13a806c105f9b757df4; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 55788ebbe8b365b4375bd56b4ba7db79d393a370; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7b0007b28dd970176f2e297c06ae63eea2447127; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7d606ae1abcc3eab5408e42444d789dc7def51b8; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < c49cc2c059b503e962c2f13a806c105f9b757df4; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 55788ebbe8b365b4375bd56b4ba7db79d393a370; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb; Linux 5.4
Fixed in
Linux 7b0007b28dd970176f2e297c06ae63eea2447127, Linux 7d606ae1abcc3eab5408e42444d789dc7def51b8, Linux 55788ebbe8b365b4375bd56b4ba7db79d393a370, Linux 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case In __unregister_kprobe_top(), if the currently unregistered probe has post_handler but other child probes of the aggrprobe do not have post_handler, the post_handler of the aggrprobe is cleared. If this is a ftrace-based probe, there is a problem. In later calls to disarm_kprobe(), we will use kprobe_ftrace_ops because post_handler is NULL. But we're armed with kprobe_ipmodify_ops. This triggers a WARN in __disarm_kprobe_ftrace() and may even cause use-after-free: Failed to disarm kprobe-ftrace at kernel_clone+0x0/0x3c0 (error -2) WARNING: CPU: 5 PID: 137 at kernel/kprobes.c:1135 __disarm_kprobe_ftrace.isra.21+0xcf/0xe0 Modules linked in: testKprobe_007(-) CPU: 5 PID: 137 Comm: rmmod Not tainted 6.1.0-rc4-dirty #18 [...] Call Trace: <TASK> __disable_kprobe+0xcd/0xe0 __unregister_kprobe_top+0x12/0x150 ? mutex_lock+0xe/0x30 unregister_kprobes.part.23+0x31/0xa0 unregister_kprobe+0x32/0x40 __x64_sys_delete_module+0x15e/0x260 ? do_user_addr_fault+0x2cd/0x6b0 do_syscall_64+0x3a/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd [...] For the kprobe-on-ftrace case, we keep the post_handler setting to identify this aggrprobe armed with kprobe_ipmodify_ops. This way we can disarm it correctly.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7b0007b28dd970176f2e297c06ae63eea2447127; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7d606ae1abcc3eab5408e42444d789dc7def51b8; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < c49cc2c059b503e962c2f13a806c105f9b757df4; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 55788ebbe8b365b4375bd56b4ba7db79d393a370; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-49779. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49779.md
Affected: Linux >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7b0007b28dd970176f2e297c06ae63eea2447127; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7d606ae1abcc3eab5408e42444d789dc7def51b8; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < c49cc2c059b503e962c2f13a806c105f9b757df4; >= 0bc11ed5ab60c135aa764a6…
Fixed in: Linux 7b0007b28dd970176f2e297c06ae63eea2447127, Linux 7d606ae1abcc3eab5408e42444d789dc7def51b8, Linux 55788ebbe8b365b4375bd56b4ba7db79d393a370, Linux 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-49779 being exploited?

There is no confirmed exploitation: CVE-2022-49779 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-49779?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-49779?

Linux >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7b0007b28dd970176f2e297c06ae63eea2447127; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 7d606ae1abcc3eab5408e42444d789dc7def51b8; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < c49cc2c059b503e962c2f13a806c105f9b757df4; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 55788ebbe8b365b4375bd56b4ba7db79d393a370; >= 0bc11ed5ab60c135aa764a62c02cd5ea68289de4, < 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb; Linux 5.4.

Is there a fix for CVE-2022-49779?

Yes. Fixed in Linux 7b0007b28dd970176f2e297c06ae63eea2447127, Linux 7d606ae1abcc3eab5408e42444d789dc7def51b8, Linux 55788ebbe8b365b4375bd56b4ba7db79d393a370, Linux 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb. Upgrade Linux to 5dd7caf0bdc5d0bae7cf9776b4d739fb09bd5ebb or later.

How do I check if I'm affected by CVE-2022-49779?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors