Re: [PATCH 6.6] crypto: starfive - Do not free stack buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: d7f01649f4eaf1878472d3d3f480ae1e50d98f6c

WARNING: Author mismatch between patch and upstream commit:
Backport author: bin.lan.cn@xxxxxxxxxxxxxxxxx
Commit author: Jia Jie Ho <jiajie.ho@xxxxxxxxxxxxxxxx>


Status in newer kernel trees:
6.12.y | Present (exact SHA1)
6.11.y | Present (exact SHA1)
6.6.y | Not found

Note: The patch differs from the upstream commit:
---
1:  d7f01649f4eaf ! 1:  f914a30081e60 crypto: starfive - Do not free stack buffer
    @@ Metadata
      ## Commit message ##
         crypto: starfive - Do not free stack buffer
     
    +    [ Upstream commit d7f01649f4eaf1878472d3d3f480ae1e50d98f6c ]
    +
         RSA text data uses variable length buffer allocated in software stack.
         Calling kfree on it causes undefined behaviour in subsequent operations.
     
         Cc: <stable@xxxxxxxxxxxxxxx> #6.7+
         Signed-off-by: Jia Jie Ho <jiajie.ho@xxxxxxxxxxxxxxxx>
         Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
    +    Signed-off-by: Bin Lan <bin.lan.cn@xxxxxxxxxxxxx>
     
      ## drivers/crypto/starfive/jh7110-rsa.c ##
     @@ drivers/crypto/starfive/jh7110-rsa.c: static int starfive_rsa_enc_core(struct starfive_cryp_ctx *ctx, int enc)
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Failed    |

Build Errors:
Build error for stable/linux-6.6.y:
    




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux