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-50319

MEDIUM 5.5EPSS 8%

coresight: trbe: remove cpuhp instance node before remove cpuhp state

Mitigation

  • Upgrade Linux to 20ee8c223f792947378196307d8e707c9cdc2d61 or later.

Who should check

  • Anyone running Linux >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 18b9202188a4e59923834c60b5c82ea1da7d1811; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 2ea334960afcd49385840c7afd59fc5f8d3ce682; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 3c18888bc0b51835c74123b1e04d5df11543724c; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 20ee8c223f792947378196307d8e707c9cdc2d61
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 18b9202188a4e59923834c60b5c82ea1da7d1811; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 2ea334960afcd49385840c7afd59fc5f8d3ce682; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 3c18888bc0b51835c74123b1e04d5df11543724c; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 20ee8c223f792947378196307d8e707c9cdc2d61; Linux 5.13
Fixed in
Linux 18b9202188a4e59923834c60b5c82ea1da7d1811, Linux 2ea334960afcd49385840c7afd59fc5f8d3ce682, Linux 3c18888bc0b51835c74123b1e04d5df11543724c, Linux 20ee8c223f792947378196307d8e707c9cdc2d61
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: coresight: trbe: remove cpuhp instance node before remove cpuhp state cpuhp_state_add_instance() and cpuhp_state_remove_instance() should be used in pairs. Or there will lead to the warn on cpuhp_remove_multi_state() since the cpuhp_step list is not empty. The following is the error log with 'rmmod coresight-trbe': Error: Removing state 215 which has instances left. Call trace: __cpuhp_remove_state_cpuslocked+0x144/0x160 __cpuhp_remove_state+0xac/0x100 arm_trbe_device_remove+0x2c/0x60 [coresight_trbe] platform_remove+0x34/0x70 device_remove+0x54/0x90 device_release_driver_internal+0x1e4/0x250 driver_detach+0x5c/0xb0 bus_remove_driver+0x64/0xc0 driver_unregister+0x3c/0x70 platform_driver_unregister+0x20/0x30 arm_trbe_exit+0x1c/0x658 [coresight_trbe] __arm64_sys_delete_module+0x1ac/0x24c invoke_syscall+0x50/0x120 el0_svc_common.constprop.0+0x58/0x1a0 do_el0_svc+0x38/0xd0 el0_svc+0x2c/0xc0 el0t_64_sync_handler+0x1ac/0x1b0 el0t_64_sync+0x19c/0x1a0 ---[ end trace 0000000000000000 ]---

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 18b9202188a4e59923834c60b5c82ea1da7d1811; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 2ea334960afcd49385840c7afd59fc5f8d3ce682; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 3c18888bc0b51835c74123b1e04d5df11543724c; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 20ee8c223f792947378196307d8e707c9cdc2d61—cvelist
Linux5.13—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-50319. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50319.md
Affected: Linux >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 18b9202188a4e59923834c60b5c82ea1da7d1811; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 2ea334960afcd49385840c7afd59fc5f8d3ce682; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 3c18888bc0b51835c74123b1e04d5df11543724c; >= 3fbf7f011f2426dac8c982f…
Fixed in: Linux 18b9202188a4e59923834c60b5c82ea1da7d1811, Linux 2ea334960afcd49385840c7afd59fc5f8d3ce682, Linux 3c18888bc0b51835c74123b1e04d5df11543724c, Linux 20ee8c223f792947378196307d8e707c9cdc2d61

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-50319 being exploited?

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

How serious is CVE-2022-50319?

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

Which versions are affected by CVE-2022-50319?

Linux >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 18b9202188a4e59923834c60b5c82ea1da7d1811; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 2ea334960afcd49385840c7afd59fc5f8d3ce682; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 3c18888bc0b51835c74123b1e04d5df11543724c; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 20ee8c223f792947378196307d8e707c9cdc2d61; Linux 5.13.

Is there a fix for CVE-2022-50319?

Yes. Fixed in Linux 18b9202188a4e59923834c60b5c82ea1da7d1811, Linux 2ea334960afcd49385840c7afd59fc5f8d3ce682, Linux 3c18888bc0b51835c74123b1e04d5df11543724c, Linux 20ee8c223f792947378196307d8e707c9cdc2d61. Upgrade Linux to 20ee8c223f792947378196307d8e707c9cdc2d61 or later.

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

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