Linux Kernel up to 5.19.7 write_macreg_hdl use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Linux Kernel up to 5.19.7. Affected by this issue is the function write_macreg_hdl. Performing a manipulation results in use after free. This vulnerability is identified as CVE-2022-49956. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.19.7. This affects the function write_macreg_hdl. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix use after free bugs _Read/Write_MACREG callbacks are NULL so the read/write_macreg_hdl() functions don't do anything except free the "pcmd" pointer. It results in a use after free. Delete them.

It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2022-49956 since 06/18/2025. The exploitability is told to be easy. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 11/30/2025).

Upgrading to version 4.9.328, 4.14.293, 4.19.258, 5.4.213, 5.10.142, 5.15.66 or 5.19.8 eliminates this vulnerability. Applying the patch 7dce6b0ee7d78667d6c831ced957a08769973063/376e15487fec837301d888068a3fcc82efb6171a/9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27/d0aac7146e96bf39e79c65087d21dfa02ef8db38/19e3f69d19801940abc2ac37c169882769ed9770/dc02aaf950015850e7589696521c7fca767cea77/b1727def850904e4b8ba384043775672841663a1/e230a4455ac3e9b112f0367d1b8e255e141afae0 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-1350). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Avamar
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.9.328/4.14.293/4.19.258/5.4.213/5.10.142/5.15.66/5.19.8
Patch: 7dce6b0ee7d78667d6c831ced957a08769973063/376e15487fec837301d888068a3fcc82efb6171a/9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27/d0aac7146e96bf39e79c65087d21dfa02ef8db38/19e3f69d19801940abc2ac37c169882769ed9770/dc02aaf950015850e7589696521c7fca767cea77/b1727def850904e4b8ba384043775672841663a1/e230a4455ac3e9b112f0367d1b8e255e141afae0

Timelineinfo

06/18/2025 🔍
06/18/2025 +0 days 🔍
06/18/2025 +0 days 🔍
11/30/2025 +165 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49956 (🔍)
GCVE (CVE): GCVE-0-2022-49956
GCVE (VulDB): GCVE-100-312951
CERT Bund: WID-SEC-2025-1350 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 06/18/2025 14:43
Updated: 11/30/2025 15:38
Changes: 06/18/2025 14:43 (58), 07/17/2025 18:04 (7), 07/29/2025 03:32 (1), 09/08/2025 02:09 (1), 09/26/2025 06:41 (1), 10/18/2025 20:01 (1), 11/18/2025 00:23 (12), 11/30/2025 15:38 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!