Public bug reported:

On 64-bit platforms, smbus2 assumes ioctl I2C_FUNCS needs a pointer to a
32-bit value, but it actually needs an unsigned long, which is 64-bit on
arm64. This causes a buffer overflow in Python 3.14 which has stricter
checks.

** Affects: smbus2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: smbus2 (Ubuntu Resolute)
     Importance: Undecided
         Status: Confirmed

** Also affects: smbus2 (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: smbus2 (Ubuntu)
       Status: New => Confirmed

** Changed in: smbus2 (Ubuntu Resolute)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152101

Title:
  Buffer overflow in _get_funcs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smbus2/+bug/2152101/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to