Fix Wrong Lockdep Annotations in fsnotify

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003913: fsnotify: fix wrong lockdep annotations. Affects Kernel versions >= 6960b0d909cde5bdff49e4e5c1250edd10be7ebd, < 72632015277b56d5f8fd666ccd24cb0ed7ef1d72. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The fsnotify package is a part of the Linux Kernel ecosystem. It provides a mechanism for file system notifications, allowing applications to be notified of changes to files or directories. The package is crucial for various system monitoring and file management tasks. However, a vulnerability has been identified in the package that involves incorrect lockdep annotations.

Vulnerability Detail

The vulnerability in fsnotify arises from incorrect lockdep annotations. Lockdep is a debugging tool in the Linux Kernel that helps detect and diagnose various locking issues. In this case, the lockdep annotations in fsnotify are incorrect, which can lead to potential locking problems and race conditions. Attackers may be able to exploit these issues to gain unauthorized access, modify files, or disrupt system operations. The vulnerability was introduced in version v3.8 of the Linux Kernel and has been fixed in version v4.19.247.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is essential to update the Linux Kernel to the fixed version to address the issue effectively.

Conclusion

The fsnotify package in the Linux Kernel is vulnerable to incorrect lockdep annotations, which can lead to locking problems and race conditions. To mitigate this vulnerability, it is crucial to update the Kernel to version v4.19.247 or later. This update includes the necessary fix for fsnotify. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

fsnotify is a package in the Linux Kernel that provides file system notification functionality, allowing applications to be notified of changes to files or directories.

The vulnerability in fsnotify can lead to locking problems and race conditions, potentially enabling unauthorized access, file modification, or disruption of system operations.

To fix the vulnerability, update the Linux Kernel to version v4.19.247 or later, which includes the necessary fix for fsnotify.

No, there is no specific workaround for this vulnerability. Updating the Kernel is the recommended solution.

The vulnerability was introduced in version v3.8 of the Linux Kernel and fixed in version v4.19.247.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback