  The Large High Altitude Air Shower Observatory~(LHAASO) reported observation
of photons with energies above 10~TeV from gamma-ray burst GRB 221009A. A
suggestion was proposed that this result may contradict our knowledge of
special relativity~(SR) and the standard model~(SM), according to which photons
of about 10~TeV from such a distant object should be severely suppressed
because of the absorption by extragalactic background light. As a result, a
number of mechanisms have been proposed to solve this potential puzzle,
including Lorentz invariance violation~(LIV). In this work, we perform a
detailed numerical calculation and show the feasibility to constrain LIV of
photons from the LHAASO observation of GRB 221009A quantitatively.
