APPLIED: [SRU Bionic/Focal/Hirsute/Impish 0/1] LP: #1950644 - LTP finit_module02 failure
Stefan Bader
stefan.bader at canonical.com
Mon Nov 22 14:17:52 UTC 2021
On 16.11.21 20:42, Thadeu Lima de Souza Cascardo wrote:
> BugLink: https://bugs.launchpad.net/bugs/1950644
>
> [Impact]
> Some uses of kernel_read_file_from_fd may lead to a WARN when the file is
> not opened for reading.
>
> The WARNING, however, is not present on earlier kernels, which will return
> a different error code. The fix, however, has been applied to upstream stable
> and may be worth so tests can PASS without much change.
>
> [Fix/Backport]
> The fix is trivial, but the backport for Focal and Bionic was picked up
> from 5.4.y upstream stable tree, because the function was moved to a
> different file.
>
> [Test case]
> The finit_module02 test case from LTP covers this.
>
> [Potential regression]
> kernel_read_file_from_fd is used for module loading and kexec, so there is
> where regressions might show up.
>
Applied to bionic,hirsute,impish:linux/master-next. For focal it just had been
applied as part of upstream v5.4.156, so I only added the bug reference to that
commit. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20211122/18eca514/attachment.sig>
More information about the kernel-team
mailing list