eventfs: Fix a possible null pointer dereference in eventfs_find_events()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
eventfs: Fix a possible null pointer dereference in eventfs_find_events()
In function eventfs_find_events,there is a potential null pointer that may be caused by calling update_events_attr which will perform some operations on the members of the ei struct when ei is NULL.
Hence,When ei->is_freed is set,return NULL directly.
From the CVE record · Linux
The Linux kernel's eventfs_find_events() can dereference a null pointer when update_events_attr() operates on a null ei structure. The input does not establish whether an attacker can trigger this, or specify access requirements or user interaction.
Engineers running the Linux kernel should check their affected versions; none are specified in the input.