Linux Kernel up to 5.15.46/5.17.14/5.18.3 smb_check_perm_dacl posix_acls reference count

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.
4.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 5.15.46/5.17.14/5.18.3. This impacts the function smb_check_perm_dacl. Executing a manipulation of the argument posix_acls can lead to reference count. This vulnerability appears as CVE-2022-49366. There is no available exploit. You should upgrade the affected component. Once again VulDB remains the best source for vulnerability data.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.15.46/5.17.14/5.18.3. It has been declared as problematic. This vulnerability affects the function smb_check_perm_dacl. The manipulation of the argument posix_acls with an unknown input leads to a reference count vulnerability. The CWE definition for the vulnerability is CWE-911. The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count. As an impact it is known to affect availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix reference count leak in smb_check_perm_dacl() The issue happens in a specific path in smb_check_perm_dacl(). When "id" and "uid" have the same value, the function simply jumps out of the loop without decrementing the reference count of the object "posix_acls", which is increased by get_acl() earlier. This may result in memory leaks. Fix it by decreasing the reference count of "posix_acls" before jumping to label "check_access_bits".

The advisory is available at git.kernel.org. This vulnerability was named CVE-2022-49366 since 02/26/2025. Technical details are known, but there is no available exploit.

Upgrading to version 5.15.47, 5.17.15 or 5.18.4 eliminates this vulnerability. Applying the patch cf824b95c12a1abacadbc2d069931963221a3414/248d71b440aef829f5cc5f6545ca113ef5062900/9758a6653c27867d810de02b4e5697163dda9883/d21a580dafc69aa04f46e6099616146a536b0724 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.

Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Reference count
CWE: CWE-911 / CWE-664
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 5.15.47/5.17.15/5.18.4
Patch: cf824b95c12a1abacadbc2d069931963221a3414/248d71b440aef829f5cc5f6545ca113ef5062900/9758a6653c27867d810de02b4e5697163dda9883/d21a580dafc69aa04f46e6099616146a536b0724

Timelineinfo

02/26/2025 🔍
02/26/2025 +0 days 🔍
02/26/2025 +0 days 🔍
04/15/2025 +48 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49366 (🔍)
GCVE (CVE): GCVE-0-2022-49366
GCVE (VulDB): GCVE-100-296998

Entryinfo

Created: 02/26/2025 09:40 AM
Updated: 04/15/2025 10:11 AM
Changes: 02/26/2025 09:40 AM (23), 02/26/2025 09:43 AM (36), 04/15/2025 10:11 AM (12)
Complete: 🔍
Committer: sany
Cache ID: 244:B77:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!