[lvc-project] [PATCH v2] platform/x86: intel_telemetry: initialize default trace verbosity
Fedor Pchelkin
pchelkin at ispras.ru
Wed Sep 16 13:44:17 MSK 2026
On Wed, 16. Sep 13:42, Fedor Pchelkin wrote:
> On Tue, 15. Sep 15:26, Ilpo Järvinen wrote:
> > On Tue, 15 Sep 2026, Aleksandrova Alyona wrote:
> >
> > > telemetry_def_get_trace_verbosity() returns success without initializing
> > > the output verbosity value.
> > >
> > > The default telemetry operations are installed when the core driver is
> > > initialized and again by telemetry_clear_pltdata() when the platform
> > > driver is removed. The telemetry debugfs files can remain available after
> > > the platform driver removal.
> > >
> > > A subsequent read of pss_trace_verbosity or ioss_trace_verbosity calls
> > > telemetry_get_trace_verbosity(), which may use the default callback and
> > > return success without setting verbosity. The uninitialized value is then
> > > passed to seq_printf().
> > >
> > > Validate the output pointer and initialize the default verbosity to zero
> > > so callers never use an uninitialized value after a successful call.
> > >
> > > Found by Linux Verification Center (linuxtesting.org) with SVACE.
> > >
> > > Fixes: 378f956e3f93 ("platform/x86: Add Intel Telemetry Core Driver")
> > > Signed-off-by: Aleksandrova Alyona <aga at itb.spb.ru>
> > > ---
> >
> > You're missing the information on what is changed in v2?!
> >
>
> Смотрите след. пункт гайдов, как это можно оформить:
> https://gitlab.linuxtesting.ru/lvc/guides/-/blob/clarify-lvc-patch-process/lvc_kernel/patch_dev_upstream.md#история-изменений-между-версиями-патча
Можете ответить Ilpo, что переслали v2, сделав rebase поверх актуального
мастера. (меня указывать не надо, т.к. я ничего не писал в рассылки
сообщества)
More information about the lvc-project
mailing list