Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • U-Boot U-Boot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • U-BootU-Boot
  • U-BootU-Boot
  • Repository
  • u-boot
  • drivers
  • usb
  • gadget
  • f_dfu.c
Find file BlameHistoryPermalink
  • Hugo SIMELIERE's avatar
    usb: gadget: dfu: Fix check of transfer direction · 14dc0ab1
    Hugo SIMELIERE authored Nov 30, 2022 and Marek Vasut's avatar Marek Vasut committed Dec 08, 2022
    Commit fbce985e
    
     to fix CVE-2022-2347
    blocks DFU usb requests.
    The verification of the transfer direction was done by an equality
    but it is a bit mask.
    
    Signed-off-by: default avatarHugo SIMELIERE <hsimeliere.opensource@witekio.com>
    Reviewed-by: Fabio Estevam's avatarFabio Estevam <festevam@denx.de>
    Reviewed-by: default avatarSultan Qasim Khan <sultan.qasimkhan@nccgroup.com>
    Reviewed-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
    Tested-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
    14dc0ab1

Imprint & Privacy Policy