Linux 6.3 has serious problems in XFS and with Nouveau

vulnerability

If exploited, these flaws can allow attackers to gain unauthorized access to sensitive information or generally cause problems

The Linux Kernel 6.3 was released just under 2 months ago and the 6.4 branch is also expected to be released in the coming weeks.

Among the most notable changes in Linux 6.3 were the removal of obsolete ARM platforms and graphics drivers, the continuous integration of Rust language support, the hwnoise utility, and other improvements.

Related article:
Linux 6.3 comes loaded with many changes and new features

Mentioning this version of the Linux Kernel is due to the fact that it is currently the stable branch and on which various corrective versions have been released. With this we could think that the errors detected/reported and solved are implemented immediately, a situation that is not always the case.

Linux 6.3 triggers post-release usage within #nouveau with the consequence of kernel memory corruption.

If you're running 6.3 and # nouveau , it's best to downgrade to 6.2 if you don't want to risk messing up your filesystem or causing any other abnormal behavior.

Recently, Karol Herbst of Red Hat , who is involved in the development of Mesa, the Nouveau driver, and the OpenCL open stack, detected a bug that causes a crash due to kernel memory corruption as a result of code accessing an already freed memory area (use after free).

As such, he advised users of open-source drivers for NVIDIA graphics cards to refrain from using the Linux 6.3 kernel due to the specific bug in the nouveau driver code.

In addition, it's also mentioned that the bug could be exploited to escalate privileges on the system, but the possibility of creating an exploit hasn't been confirmed. It's also possible that the resulting flaw could lead to file system integrity violations, since, theoretically, kernel memory corruption could affect the areas where ext4 file system structures are stored.

So far, the problem has only been solved in the form of a patch , which has not yet been accepted into the kernel.

Another bug that was detected in the Linux kernel 6.3 (at the end of April) revealed an error that corrupted the metadata of the XFS file system.

The problem is not yet completely resolved and manifests itself in update 6.3.4, among other things (the corruption was fixed in versions 6.3.1, 6.3.2, 6.3.3 and 6.3.4, but the manifestation of the problem is in doubt in version 6.3.0).

In previous kernel branches, such as 6.2, as well as the 6.4 branch that is in development, the manifestation of the problem is not fixed. The change that caused the problem and the exact factors that caused the error have not yet been determined.

Last but not least, it is also worth mentioning the recent vulnerability (already cataloged under CVE-2023-3138) in the libx11 library developed by the X.Org project , which offers functions with a client implementation of the X11 protocol, leading to memory corruption in a client application if it connects to a malicious X Server or intermediate proxy controlled by an attacker.

Regarding the problem, it is mentioned that it is present in the InitExt.c file and is due to the lack of validation of the values ​​passed by the X server for the request, event, and error IDs before using them as an index of the array element being written to.

According to preliminary estimates, since the size of the identifier field is limited to one byte, the vulnerability can only be used to rewrite parts of the display structure without going beyond its limits, i.e. limited to process termination. .

It should be noted that the problem was fixed in libX11 version 1.8.6 and users are encouraged to perform the relevant updates.

Finally, if you are interested in learning more about the aforementioned issues, you can find the details in the following links.


Add as preferred source in Google