mbox series

[SRU,Bionic,Focal,Jammy,Kinetic,OEM-5.17,OEM-6.0,OEM-6.1,v2,0/1] CVE-2023-1859

Message ID 20230418135826.1222385-1-john.cabaj@canonical.com
Headers show
Series CVE-2023-1859 | expand

Message

John Cabaj April 18, 2023, 1:58 p.m. UTC
[Impact]
* A use-after-free vulnerability could exist in xen/9pfs, whereupon after removal of a xen_9pfs device, an attempt to service a response could access a struct that has been freed.
* Perform requisite clean-up upon removal so further requests cannot be serviced.

[Fix]
* Clean cherry-picks for all affected kernels

[Test Case]
* Compile tested
* Boot tested

[Potential regression]
* Low risk. Potentially could take longer to remove xen_9pfs device as cancel waits for work to finish.

-v2:
* Removing oem-5.14 and adding CVE # to patch

Zheng Wang (1):
  9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
    condition

 net/9p/trans_xen.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tim Gardner April 18, 2023, 2:25 p.m. UTC | #1
On 4/18/23 7:58 AM, John Cabaj wrote:
> [Impact]
> * A use-after-free vulnerability could exist in xen/9pfs, whereupon after removal of a xen_9pfs device, an attempt to service a response could access a struct that has been freed.
> * Perform requisite clean-up upon removal so further requests cannot be serviced.
> 
> [Fix]
> * Clean cherry-picks for all affected kernels
> 
> [Test Case]
> * Compile tested
> * Boot tested
> 
> [Potential regression]
> * Low risk. Potentially could take longer to remove xen_9pfs device as cancel waits for work to finish.
> 
> -v2:
> * Removing oem-5.14 and adding CVE # to patch
> 
> Zheng Wang (1):
>    9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
>      condition
> 
>   net/9p/trans_xen.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Andrei Gherzan April 18, 2023, 2:33 p.m. UTC | #2
On 23/04/18 08:58AM, John Cabaj wrote:
> [Impact]
> * A use-after-free vulnerability could exist in xen/9pfs, whereupon after removal of a xen_9pfs device, an attempt to service a response could access a struct that has been freed.
> * Perform requisite clean-up upon removal so further requests cannot be serviced.
> 
> [Fix]
> * Clean cherry-picks for all affected kernels
> 
> [Test Case]
> * Compile tested
> * Boot tested
> 
> [Potential regression]
> * Low risk. Potentially could take longer to remove xen_9pfs device as cancel waits for work to finish.
> 
> -v2:
> * Removing oem-5.14 and adding CVE # to patch
> 
> Zheng Wang (1):
>   9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
>     condition
> 
>  net/9p/trans_xen.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> -- 
> 2.34.1

Acked-by: Andrei Gherzan <andrei.gherzan@canonical.com>
Timo Aaltonen April 20, 2023, 11:34 a.m. UTC | #3
John Cabaj kirjoitti 18.4.2023 klo 16.58:
> [Impact]
> * A use-after-free vulnerability could exist in xen/9pfs, whereupon after removal of a xen_9pfs device, an attempt to service a response could access a struct that has been freed.
> * Perform requisite clean-up upon removal so further requests cannot be serviced.
> 
> [Fix]
> * Clean cherry-picks for all affected kernels
> 
> [Test Case]
> * Compile tested
> * Boot tested
> 
> [Potential regression]
> * Low risk. Potentially could take longer to remove xen_9pfs device as cancel waits for work to finish.
> 
> -v2:
> * Removing oem-5.14 and adding CVE # to patch
> 
> Zheng Wang (1):
>    9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
>      condition
> 
>   net/9p/trans_xen.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 

this was essentially already applied to the oem kernels
Stefan Bader May 3, 2023, 7:45 a.m. UTC | #4
On 18.04.23 15:58, John Cabaj wrote:
> [Impact]
> * A use-after-free vulnerability could exist in xen/9pfs, whereupon after removal of a xen_9pfs device, an attempt to service a response could access a struct that has been freed.
> * Perform requisite clean-up upon removal so further requests cannot be serviced.
> 
> [Fix]
> * Clean cherry-picks for all affected kernels
> 
> [Test Case]
> * Compile tested
> * Boot tested
> 
> [Potential regression]
> * Low risk. Potentially could take longer to remove xen_9pfs device as cancel waits for work to finish.
> 
> -v2:
> * Removing oem-5.14 and adding CVE # to patch
> 
> Zheng Wang (1):
>    9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
>      condition
> 
>   net/9p/trans_xen.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 

Applied to kinetic,jammy,focal,bionic:linux/master-next. Thanks.

-Stefan