CVE-2019-19377

2019-12-10T20:48:16
ID RH:CVE-2019-19377
Type redhatcve
Reporter redhat.com
Modified 2021-03-18T18:18:04

Description

A flaw was found in the Linux kernel's implementation of the BTRFS file system. A local attacker, with the ability to mount a file system, can create a use-after-free memory fault after the file system has been unmounted. This may lead to memory corruption or privilege escalation.

Mitigation

As the btrfs module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:

echo "install btrfs /bin/true" >> /etc/modprobe.d/disable-btrfs.conf

The system will need to be restarted if the BTRFS modules are loaded. In most circumstances, the CIFS kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use.

If the system requires this module to work correctly (as a filesytem required to run), this mitigation may not be suitable.

If you need further assistance, see KCS article <https://access.redhat.com/solutions/41278> or contact Red Hat Global Support Services.