APPLIED: [SRU][Q][PATCH 0/1] crash when reading from /sys/kernel/tracing/rv/enabled_monitors (LP: #2131136)

Stefan Bader stefan.bader at canonical.com
Wed Nov 12 14:39:34 UTC 2025


On 12/11/2025 12:59, Edoardo Canepa wrote:
> BugLink: https://bugs.launchpad.net/bugs/2131136
> 
> [ Impact ]
> 
>   * As reported in https://lore.kernel.org/linux-trace-kernel/20250923002004.GA2836051@ax162/,
>     commit "rv: Fix wrong type cast in enabled_monitors_next()" introduces a crash when
>     accessing the sys node /sys/kernel/tracing/rv/enabled_monitors in Questing.
> 
>   * The crash is induced by a a wrong type cast and fixed in upstream commit
>     103541e6a5854b08a25e4caa61e990af1009a52e:
>     "rv: Fully convert enabled_monitors to use list_head as iterator"
> 
>   * The issue was originally detected while running ubuntu_ltp fs:read_all_sys as reported
>     in LP#2129834
> 
> [ Test Plan ]
> 
>   * The issue can be reproduced by reading /sys/kernel/tracing/rv/enabled_monitors
>     node: no crash should occur
> 
>   * Regression test ubuntu_ltp fs:read_all_sys will trigger the issue: the test
>     should be now able to complete
> 
> [ Where problems could occur ]
> 
>   * Changes only affect the /sys/kernel/tracing/rv facility. It is therefore
>     highly unlikely that this change will cause regressions on anything else
> 
> [ Other Info ]
> 
>   * Patch applies on questing without any conflicts
> 
>   * Depends on "rv: Fix wrong type cast in enabled_monitors_next()" https://lkml.org/lkml/2025/8/6/599
> 


Applied to questing:linux/master-next. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251112/10076d76/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251112/10076d76/attachment-0001.sig>


More information about the kernel-team mailing list