Re: [PATCH v3] blkparse: Fix a potential coredump issue

Jens Axboe <[email protected]> Thu, 20 Mar 2025 05:07:29 -0600
Newsgroups org.kernel.vger.linux-btrace
Message-ID <[email protected]>
On Wed, 19 Mar 2025 21:02:49 +0800, [email protected] wrote:
> Executing "blkparse -t" may cause coredump due to
> accessing uninitialized memory.
> 
> 8,16   0     6092     1.436280373 20685  Q   W 15356912 + 4096 [kworker/u256:2]
> 8,16   0     6093     1.436282093 20685  X   W 15356912 / 15357936 [kworker/u256:2]
> 8,16   0     6094     1.436282735 20685  G   W 15356912 + 1024 [kworker/u256:2]
> 8,16   0     6099     1.436358617 20685  X   W 15357936 / 15358960 [kworker/u256:2]
> 8,16   0     6100     1.436359418 20685  G   W 15357936 + 1024 [kworker/u256:2]
> 8,16   0     6102     1.436359931 20685  I   W 15356912 + 1024 [kworker/u256:2]
> 8,16   0     6103     1.436360874 20685  D   W 15356912 + 1024 [kworker/u256:2]
> 8,16   0     6105     1.436436572 20685  X   W 15358960 / 15359984 [kworker/u256:2]
> 8,16   0     6106     1.436437679 20685  G   W 15358960 + 1024 [kworker/u256:2]
> 8,16   0     6108     1.436438205 20685  I   W 15357936 + 1024 [kworker/u256:2]
> 8,16   0     6109     1.436439368 20685  D   W 15357936 + 1024 [kworker/u256:2]
> 8,16   0     6111     1.436530404 20685  G   W 15359984 + 1024 [kworker/u256:2]
> 8,16   0     6113     1.436530842 20685  I   W 15358960 + 1024 [kworker/u256:2]
> 8,16   0     6114     1.436531748 20685  D   W 15358960 + 1024 [kworker/u256:2]
> 8,16   0     6120     1.436755261 20685  I   W 15359984 + 1024 [kworker/u256:2]
> 8,16   0     6121     1.436756476 20685  D   W 15359984 + 1024 [kworker/u256:2]
> 8,16   0     6128     1.437120354     0  C   W 15356912 + 1024 [0]
> 8,16   0     6129     1.437121875     0  C   W 15356912 + 2048 [0]
> 
> [...]

Applied, thanks!

[1/1] blkparse: Fix a potential coredump issue
      commit: f9bd00dfbd67ce62ca6df6f55d6275b523cd0b39

Best regards,
-- 
Jens Axboe