In the Linux kernel, the following vulnerability has been resolved: tracing: Do not call map->ops->elt_free() if elt_alloc() fails In paths where tracing_map_elt_alloc() failed to allocate objects, the map->ops->elt_alloc() call was never successful. In this case, map->ops->elt_free() should not be called.
https://git.kernel.org/stable/c/f383cff9fb382139980bac1bcd3f3f5d59f68435
https://git.kernel.org/stable/c/b6723339736320b2e1784258ad4490cec7aac11a
https://git.kernel.org/stable/c/b559a218eece132de0c58d444877b5627cbee524
https://git.kernel.org/stable/c/b427e9f6d81c9341cba23ef92f860f99f830d91d
https://git.kernel.org/stable/c/8f0f5c4fb9df0e19a341e0c6ed8dc4fda9124f03
https://git.kernel.org/stable/c/798183376d9d3e278a270ea0e75a5769c8f145d9
https://git.kernel.org/stable/c/49332e49ad5b20262cc719b03d4123b9362de701
https://git.kernel.org/stable/c/1a150947f8480262a46c860f1acb9c6597ca7097